Various functions updates to work with dynamically generated CM instances
New variables added to track the CM instance refs & next avail number
CTRL+G now focuses on go to line box
A few lines of now useless code removed
PHP will now load content into textarea container, but replacing </textarea> with altered tag
This ensures the actual textarea container isn't escpaed early
This replacement is reversed back to the original by the contentCleanup function
contentCleanUp function repurposed
(No longer removes tabs & spaces & sets tabbing, new purpose is some HTML encoding of chars such as & to &)
(Also won't clean up loaded JS or CSS files anymore)
CTRL+Enter will now open webpage in new tab
ESC will now toggle comments for that line in a context aware way
Navigation expands contracts using JS instead of CSS (fixes issue #2)
New rename tab function added
Content type also determined by filename ext being .js or .css
Multiple new tabs can be opened now, instead of just 1
ShortURL established for renameFile function, fixes problem
lineCommentToggle function added
Tab now renamed on saving file under new name
Clear history moved to a repurposed contentCleanUp function in JS file
Clear & set active line class to line 1
Global variables removed from JS file
Plugins system evolved, now including setInterval
Seperate CodeMirror instances per tab
backupOpenFiles plugin created
Minor fixes & improvements