Commit graph

600 commits

Author SHA1 Message Date
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
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
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
David Alan Hjelle
69778adb4c Added Solarized color scheme (from http://ethanschoonover.com/solarized) 2011-04-10 00:03:07 -05:00
Fabian Jakobs
bc027e927a Refactor unit tests:
- move tests next to implementation files
- all tests run standalone in node
- all tests run in the browser
2011-04-08 10:28:18 +02:00
Irakli Gozalishvili
915c1be533 Fixing bug in editor.setOverwrite #issue/204 2011-04-07 17:38:00 +08:00
mikedeboer
ba2f10346b added check in worker if sender actually exists 2011-04-06 16:19:28 +02:00
Fabian Jakobs
eac45c82fc make worker detection a little more robust 2011-03-31 10:06:17 +02:00
Fabian Jakobs
82bc93ac60 fix typo 2011-03-31 09:50:14 +02:00
Fabian Jakobs
c84ec61daf move trimRight from fixoldbrowers to lang 2011-03-31 09:40:35 +02:00
Fabian Jakobs
6589eee14a merge 2011-03-25 14:35:02 +00:00
Joe Cheng
7fa4d37f57 All full width characters should be styled with double character width 2011-03-23 13:17:19 -07:00
Joe Cheng
21a79fea65 Respect full width property of all East Asian characters
Common Japanese punctuation (comma, period) was being treated as half-width, causing cursor positioning to be off. The new code is comprehensive for code points in the Basic Multilingual Plane.
See https://gist.github.com/883802 for the script I used to generate the code.
2011-03-23 13:06:40 -07:00
Fabian Jakobs
e32370cae8 dom't merge embedded ruby into the standard html mode 2011-03-21 10:44:16 +00:00
Heigh Tech LLC
c1c6e2b727 add last exception symbol 2011-03-21 18:40:34 +08:00
Heigh Tech LLC
723f284a10 more rails built in functions and variables 2011-03-21 18:40:34 +08:00