Julian Viereck
ff72467c10
Remove FoldLine.getRowLength and .getRowSplits. Use already existing functions which simplifies the code.
2011-04-28 21:39:59 +02:00
Julian Viereck
47207a6b9f
Reenable unit test again.
2011-04-28 21:39:58 +02:00
Julian Viereck
b6772e8ef2
Add documentation for EditSesion.getFoldAt and change meaning of side.
2011-04-28 21:39:21 +02:00
Julian Viereck
af6dcc2253
Fix a lot of screen dimension calculation functions.
2011-04-28 21:39:21 +02:00
Julian Viereck
155115035c
Fix rendering bugs. Make SVG session default for testing.
2011-04-28 21:39:21 +02:00
Julian Viereck
2be2386603
Fix EditSession.removeFolds: Using the folds of a foldLine might cause unexpected behavior. Clone the passed in array.
2011-04-28 21:39:20 +02:00
Julian Viereck
a1497c097d
Add Range.compareRange function used by EditSession.getFoldsInRange.
2011-04-28 21:39:20 +02:00
Julian Viereck
dac1b38064
Folds realign when inserting/deleting any kind of content from the document. Adds a ton of unit tests. Fixes bugs in EditSession.getFoldsInRange and add .toString() functions to make debugging way easier.
2011-04-28 21:39:20 +02:00
Julian Viereck
ae20be743f
Add EditSession.getFoldsInRange function + unit tests
2011-04-28 21:39:20 +02:00
Julian Viereck
ccfe285bab
Implement EditSession.removeFold.
2011-04-28 21:39:20 +02:00
Julian Viereck
9ff0df758a
Refactor FoldLine.getStringAt out of fold line as the FoldLine should not be session depending.
2011-04-28 21:39:20 +02:00
Julian Viereck
e9f3ba7b56
Add support for multi line insertion + unit tests
2011-04-28 21:39:20 +02:00
Julian Viereck
0e0f3a1db3
Add unit test for inserting one-line text on folded lines
2011-04-28 21:39:19 +02:00
Julian Viereck
56f74f1368
Remove Fold.compare/contains functions. Rename Fold.sameLine to Fold.sameRow. Add new functions to Range that repalce the Fold.compare/contains functions but are more explicit on where to drop the start/end.
2011-04-28 21:39:19 +02:00
Julian Viereck
15d2c50117
Fix bug adding new characters right before a fold caused the chars to get added inside of the fold
2011-04-28 21:39:19 +02:00
Julian Viereck
4beecc086a
Fix bug in TextLayer.updateLines
2011-04-28 21:39:19 +02:00
Julian Viereck
c22d80398a
Add handling for simple adding/removing of content to realign the folds
2011-04-28 21:39:19 +02:00
Julian Viereck
145030972c
Remove EditSession.getScreenFirstRowColumn() func and clean up a little bit
2011-04-28 21:39:19 +02:00
Julian Viereck
8c63cd7ff5
Get move(Word)Right/left working with folds
2011-04-28 21:39:19 +02:00
Julian Viereck
88f55c958a
Fix active line highlighter in folded row
2011-04-28 21:39:18 +02:00
Julian Viereck
273a1e41d1
Remove 'border' from ace_fold as it misaligned the lines. Fix screenToDocumentRow
2011-04-28 21:39:18 +02:00
Julian Viereck
068e289f17
Get fold EditSession.screenToDocument working + unit tested
2011-04-28 21:39:18 +02:00
Julian Viereck
b8437cde60
Fix EditSession.getScreenLength due to FoldLine refactoring
2011-04-28 21:39:18 +02:00
Julian Viereck
3e7567b521
Fix bug in TextLayer.updateLines due to FoldLine refactoring
2011-04-28 21:39:18 +02:00
Julian Viereck
a12f83c3d9
Fix bugs in FoldLine.addFold and simplify
2011-04-28 21:39:18 +02:00
Julian Viereck
7b58e782a7
Rewrote the handling of . Now there is one FoldLine per folded line/row as it's displayed on the screen.
2011-04-28 21:39:17 +02:00
Julian Viereck
aea1bc31ea
Add fold documentToScreen unit tests and fixed some small bugs
2011-04-28 21:39:17 +02:00
Julian Viereck
12bfd2ee0c
Clean up a little bit and make current existing unit test run again
2011-04-28 21:38:51 +02:00
Julian Viereck
1726444b96
Rewrite of session.documentToScreen code
2011-04-28 21:38:51 +02:00
Julian Viereck
cc795cd0e5
Make EditSession.getScreenLength work with folded lines.
2011-04-28 21:38:51 +02:00
Julian Viereck
6579a99530
Code folding text rendering took off!
2011-04-28 21:37:31 +02:00
Julian Viereck
e0d01ffa95
Refacored text rendering code a little bit. About to lift of code folding rendering.
2011-04-28 21:37:31 +02:00
Julian Viereck
c010348eae
First iteration of code folding - not much working yet.
2011-04-28 21:37:31 +02:00
Fabian Jakobs
747ca806ef
fix copyright header
2011-04-28 21:15:04 +02:00
Fabian Jakobs
c2131fcb28
fix lexing of string literals
2011-04-28 21:14:50 +02:00
Fabian Jakobs
298408b93a
add js worker unit test
2011-04-28 09:41:11 +00:00
Fabian Jakobs
4edbd4e55a
Merged pull request #221 from SRabbelier/exports-worker.
...
Fix workers that require a module returning a value
2011-04-28 01:42:15 -07:00
Fabian Jakobs
f476ed4a39
Merged pull request #223 from SRabbelier/tokenizer-reload.
...
Add onReloadTokenizer event and listener in editor_session
2011-04-28 01:40:58 -07:00
gigasquid
85722bce51
Add Clojure Mode
2011-04-27 14:58:46 -04:00
Fabian Jakobs
9162d81b72
fix typo
2011-04-27 07:56:19 -07:00
Sverre Rabbelier
f7f9e7c21a
Add onReloadTokenizer event and listener in editor_session
2011-04-27 12:00:38 +02:00
Sverre Rabbelier
72c73c759d
Fix workers that require a module returning a value
2011-04-27 11:17:18 +02:00
Fabian Jakobs
b8ab958674
Merged pull request #207 from dahjelle/master.
...
Added Solarized color scheme to available options.
2011-04-26 03:07:27 -07:00
Fabian Jakobs
ef8973a8f8
add support for multiline attributes in html and xml modes
2011-04-26 11:15:57 +02:00
Fabian Jakobs
f9bf9bfc9a
move background tokenizer from the editor to the edit session
2011-04-26 10:39:27 +02:00
Joe Cheng
82e8ae5a49
Fix performance regression on large documents
2011-04-26 09:46:52 +02:00
Mihai Sucan
2d7326f1c9
fix for a few of the es5 keywords
2011-04-26 09:45:17 +02:00
Mihai Sucan
ebe4117945
fix setUseWorker()
2011-04-26 09:43:52 +02:00
Fabian Jakobs
f275f4ade4
minor cleanup
2011-04-26 09:43:29 +02:00
Sean Kellogg
d511a3e992
enhanced css syntax rules
...
- support for id, class, and element definition syntax
- support for media selector blocks
- ensure ruleset highlighting is only applied inside of definition blocks, not the entire document
2011-04-20 17:37:03 -07:00