Commit Graph

34 Commits

Author SHA1 Message Date
Matt Pass
176c8fc557 Only get mouseXY & test FM resizeon ICEcoder obj 2012-07-11 13:33:08 +01:00
Matt Pass
c53b0ba3ad Detect mouse down, up & move plus test FM resize
Setting up mouseDown value as bool on down & up events
Mouse move now gets X & Y pos along with determining area event
triggered in
Also then determins if we can resize file manager width & show w-resize
icon
All of this applied to HTML tag so at hightest DOM level
2012-07-11 13:16:54 +01:00
Matt Pass
dd351eeaa5 CSS changes to work with new DOM
CodeMirror 2.3 has new DOM, so now setting width on .CodeMirror class
No longer need visible and hidden classes
2012-07-07 14:32:25 +01:00
Matt Pass
fd9021190a Wrong comment syntax & new file undefined issue
Used // instead of /* */ in CSS, caused .cm-tab:after to be a missing
class
Simplified conditional inserting of tab arrow in PHP
Only checking indexOf .js, .css and .less if there is a fileName
2012-07-01 13:46:43 +01:00
Matt Pass
fcc5896926 LESS condition added 2012-06-24 12:38:34 +01:00
Matt Pass
490ca1c1c3 Using codemirror-compressed.js now
Using a single JS for main CodeMirror JS file and 7 x mode JS files
This is from their compression page where all files are stored in 1 file
and also uglify compressed
Result is around 105k less bytes and will load quicker too as just 1
file
2012-06-23 17:24:59 +01:00
Matt Pass
807cc53fa8 Target references now hardcoded on init
Previously identified objects by selectTab, but this doesn't work with
dragged tabs
Now identifying using init 'num' value, which is much better & also
means less code
2012-06-21 07:53:55 +01:00
Matt Pass
47547b2ae8 Dark active line & dynamic tab widths
Config file included so we can use vars
Active line is now black rather than dark blue
(This is a bit experimental and unusual, so we'll see how it works out)
indentUnit & tabSize params in CM now uses JS var, so updateable
2012-06-17 16:26:43 +01:00
Matt Pass
745903d133 Move file/folder count & last 10 files clickable
File & folder count moved into files section
Last 10 files is now clickable to open file
Also shows [none] if there aren't any files to display
Couple of bytes saved in server DT display process
Will also only update server DT if it's visible
2012-06-10 11:46:23 +01:00
Matt Pass
1fbe9df342 Server DT, last 10 files and improved layout
Layout is now in 3 areas, collapsable too via CSS float
Server name, OS & IP combined
Date & time now shown under server
This is also updated via JS
2012-06-09 18:39:12 +01:00
Matt Pass
7fa28c6d8b onLoad, update file, folder, byte display 2012-06-01 17:48:11 +01:00
Matt Pass
74b0d86c36 Container to show file & folder count
This is updated once the file manager has loaded
2012-06-01 17:13:08 +01:00
Matt Pass
6752b8ef50 Adding headings & margin adjusts to server info 2012-06-01 08:23:32 +01:00
Matt Pass
d594050166 Server & user info screen
CodeMirror instances now on z-index of 1, above body
Body by default now shows server & user details if logged in and no docs
loaded
2012-05-31 14:51:46 +01:00
Matt Pass
4bafb3aaa1 Need e not event
Wasn't working in Firefox, this fixes issue
2012-05-29 17:50:14 +01:00
Matt Pass
43f7089106 CSS compacting & JS file sorting
0px now 0
Sorted load order of a few mode files
2012-05-28 07:53:00 +01:00
Matt Pass
d095e6a5fe CoffeeScript Support & Update Lang on Tab Switch
CoffeeScript is now supported as a language by ICEcoder
When you switch tabs, the cursor display info also now changes
2012-05-25 17:44:12 +01:00
Matt Pass
96df3ac91b Shortening of hex codes & swapping tab text cols
Hex codes shortened if poss (ie, #888888 becomes #888 and #ff0000
becomes #f00)
Swapped text colour on tabs, selected now has black text, others white
text
2012-05-25 17:03:12 +01:00
Matt Pass
c177374d23 Extra param to signify we're not triggering from button click 2012-05-05 15:19:12 +01:00
Matt Pass
3cd5b99edd Tabbing can now dynamically switch between tab & indent
tab:after now always available, has dynamic content (blank or tab symbol)
Tabbing can now dynamically switch and is either default or indents
(default tabs, but if you've something selected will indent selected lines)
2012-05-01 07:26:01 +01:00
Matt Pass
b5e8afb8d9 Fix to match new function variable name 2012-04-20 08:00:29 +01:00
Matt Pass
56ade7fa75 Some CSS moved back into default theme & visibleTabs option back in
selected, gutter, cursor & matching bracket moved back into default theme
(As it pertains to that theme only)
$visibleTabs option back in
2012-04-20 07:45:58 +01:00
Matt Pass
6ef524e4ce Themes applied to editor & styling made more general
Some of the general styling moved from default theme to here
(margin on HTML & body, plus selected, gutter, cursor & matching styles)
Removed setting of theme here, done dynamically with existing functions
2012-04-19 17:47:49 +01:00
Matt Pass
b70ee4553a Ruby language support & visible tabs
CodeMirror mode now loaded for Ruby code highlighting
CSS for visible tabs if setting turned on
2012-04-14 18:10:00 +01:00
Matt Pass
fee53144d9 Code folding upon gutter click
New fileName var
CodeMirror lib used to allow folding of code on clicking gutter
HTML folds on <tags> and JS & PHP fold on {braces}
+ in gutter indicates folded area
2012-04-07 21:11:45 +01:00
Matt Pass
c758a2ff37 Gutter click now triggers code folding
Clicking gutter in CM editor triggers new code fold/expand function
2012-04-05 07:34:14 +01:00
Matt Pass
215229d051 Fix & improvements to end tag postfixing, tab key & removing old code
Code assist now won't add an end tag if yours starts with a / (ie, it's already an end tag)
Also won't add an end tag if yours starts with ? (ie, it's ending a PHP block: ?>)
Switched from using the htmlTagArray to determin an end tag, to the tagString var
CodeMirror 2.23 handles tabs in a different way, so extraKeys has been set up to handle differently to new default
Old code removed related to showing results on clicking (now handled onChange as that's more efficient)
2012-04-01 12:18:04 +01:00
Matt Pass
715a08f581 CSS Color Preview Added
Now calls the cssColorPreview function onCursorActivity of the cM instance
2012-03-25 16:37:43 +01:00
Matt Pass
4b0110b671 Keyup works with Code Assist
Only if Code Assist is on will the keyup event allow help with coding
2012-03-09 07:22:44 +00:00
Matt Pass
160c19397a Matching text function avail plus improvements & fixes to CM display
2 x JS scripts loaded from Code Mirrors lib plus the call to allow selected text matching
Different styling for visible & hidden classes
These classes mean not only faster tab switching but also fixes render problems on some computers
2012-03-02 15:11:05 +00:00
Matt Pass
20ae2296d3 CodeMirror now created as dynamic object
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
2012-02-09 07:47:20 +00:00
Matt Pass
0772190fdd Span & H1-H7 end tags now appended inline
Span tags are now appended inline rather than with line feeds, to represent their default inline styling nature
H1-H7 tags now also appended inline
2012-02-03 07:57:59 +00:00
Matt Pass
813dd75bef ActiveLine & JS, CSS restrictions on code assist
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
2012-01-28 16:35:02 +00:00
Matt Pass
972a3434bc v0.5.0 update
Global variables removed from JS file
Plugins system evolved, now including setInterval
Seperate CodeMirror instances per tab
backupOpenFiles plugin created
Minor fixes & improvements
2012-01-20 09:55:29 +00:00