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
No longer creates 10 x instances
Instead creates CM objects (& cMActiveLine) on demand
All hardcoded refs from 1-10 removed, now dynamic
Additional code to stop it seeing just loaded files as changed
li tags are now also inline
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
ActiveLine CSS class added, shows this on cursor activity
Improvement to avoid doing this out on highlighting of text
Will no longer append end tags if in a JS or CSS file
a tags are also now appended inline, no line returns
Global variables removed from JS file
Plugins system evolved, now including setInterval
Seperate CodeMirror instances per tab
backupOpenFiles plugin created
Minor fixes & improvements