From 7577c3552dcf65f9c5f78fd3d69d4fd295777327 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Tue, 4 Dec 2012 18:07:36 +0000 Subject: [PATCH] Folding on tag & braces again now Folds according to the content/lang type at the cursor. Nest step is to set the cursor to the clicked line, get the type and set cursor back again, then we know what we can fold on. --- editor.php | 411 ++++++++++++++++++++++++++--------------------------- 1 file changed, 205 insertions(+), 206 deletions(-) diff --git a/editor.php b/editor.php index 10af2e4..2bdecd6 100644 --- a/editor.php +++ b/editor.php @@ -1,207 +1,206 @@ - - - - - -ICEcoder v <?php echo $ICEcoder["versionNo"];?> editor - -/lib/codemirror.css"> - - -"> - - - - - -
-
-

server

- Server name, OS & IP:
-

- Root:
-

- ICEcoder root:
-

- PHP version:
-

- Date & time:
-


-
- -
-

files

- Last 10 files opened:
-
'; - } else { - echo ''; - echo str_replace($docRoot,"",str_replace("|","/",$last10FilesArray[$i])); - echo '
'.PHP_EOL; - if ($i==count($last10FilesArray)-1) {echo '
'.PHP_EOL;}; - } - } - ;?> - File & folder count:
-



-
- -
-

your device

- Browser:
-

- Your IP:
- -
- -
- - - - - + + + + + +ICEcoder v <?php echo $ICEcoder["versionNo"];?> editor + +/lib/codemirror.css"> + + +"> + + + + + +
+
+

server

+ Server name, OS & IP:
+

+ Root:
+

+ ICEcoder root:
+

+ PHP version:
+

+ Date & time:
+


+
+ +
+

files

+ Last 10 files opened:
+
'; + } else { + echo ''; + echo str_replace($docRoot,"",str_replace("|","/",$last10FilesArray[$i])); + echo '
'.PHP_EOL; + if ($i==count($last10FilesArray)-1) {echo '
'.PHP_EOL;}; + } + } + ;?> + File & folder count:
+



+
+ +
+

your device

+ Browser:
+

+ Your IP:
+ +
+ +
+ + + + + \ No newline at end of file