Julian Viereck
|
86a0e98c36
|
Reset the $redoStack of the undoManager once a delta is executed. Add Range.setStart/setEnd.
|
2011-04-29 12:15:19 +02:00 |
|
Julian Viereck
|
e871700e2e
|
Fix bug in undo/redo + folds: The folds have to get onto the undo queue after the changeStack is empty. New events changeStart/End added.
|
2011-04-29 11:08:19 +02:00 |
|
Julian Viereck
|
acc318af90
|
Make things work again afte rebasing.
|
2011-04-28 21:47:35 +02:00 |
|
Julian Viereck
|
2c9e4f7476
|
Doing some small tiedy up. Unstructured Code Folding should be done.
|
2011-04-28 21:41:02 +02:00 |
|
Julian Viereck
|
a385637b9e
|
Add removing folds to undo queue.
|
2011-04-28 21:41:02 +02:00 |
|
Julian Viereck
|
f695c253f5
|
Add sub folding feature. addFold can take a Fold object now.
|
2011-04-28 21:40:37 +02:00 |
|
Julian Viereck
|
d575f47ebc
|
Add checks to addFold.
|
2011-04-28 21:40:37 +02:00 |
|
Julian Viereck
|
e356ea8cae
|
Ensure selection can't be inside of a fold.
|
2011-04-28 21:40:37 +02:00 |
|
Julian Viereck
|
5573252193
|
Make Selection.moveCursorFirstLine work again. Fixing some bugs on the way.
|
2011-04-28 21:40:37 +02:00 |
|
Julian Viereck
|
61fc8d04c4
|
Add support for folded lines in Selection.selectLine
|
2011-04-28 21:40:36 +02:00 |
|
Julian Viereck
|
825cf26478
|
Final iteration of wrapMode + folding: Addind unit tests, fixing bugs.
|
2011-04-28 21:40:36 +02:00 |
|
Julian Viereck
|
0687d8a5e8
|
When running the unit tests in the browser, print log to the console.
|
2011-04-28 21:40:36 +02:00 |
|
Julian Viereck
|
1d9dbe6d3e
|
Fix render misalignment. Looks good so far.
|
2011-04-28 21:40:36 +02:00 |
|
Julian Viereck
|
353c6a4f4a
|
Fix bug in updateWrapData. Rendering still sometimes misaligned
|
2011-04-28 21:40:36 +02:00 |
|
Julian Viereck
|
79678b5e96
|
Splitting edit_session.js up - moving the folding code parts into edit_session/fold_line.js|folding.js.
|
2011-04-28 21:40:35 +02:00 |
|
Julian Viereck
|
46a877e563
|
Checkpointing fold-wrap-data work. Mostly done
|
2011-04-28 21:39:59 +02:00 |
|
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
|
dd121334a6
|
Add basic commands to fold/unfold sections using key shortcuts.
|
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 |
|