- Jan 31, 2011
-
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
- Jan 24, 2011
-
-
Marijn Haverbeke authored
This is already going off into way-out hackiness again, but textwrapping is useful, so I'll see if I can get it to work.
-
- Jan 22, 2011
-
-
Marijn Haverbeke authored
-
- Jan 21, 2011
-
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
whitespace is now no longer 'pulled into' the token next to it, but put in class-less spans. parsers can return null to indicate they don't want to assign a class to the consumed text. the js parser now also does this for operators and punctuation, so that the amount of joinable spans is much greater
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
this makes it less likely that a held cursor-movement key fires twice before we read its effect, which could make it hit the end of the textarea text, creating weird jumping effects
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
data on token styles and selection is neatly accumulated in the Line data structure, and then rendered to HTML in one shot.
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
also introduces a Line class to organize code at least a little
-
- Jan 14, 2011
-
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
this keeps track of whether the selection and the textarea have to be updated, so that this logic isn't scattered through the code, and to prevent superfluous updates
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
- Jan 13, 2011
-
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
when holding shift, with an inverted selection present, and pressing a cursor-movement key, the editor now collapses the selection to its start, and then cleverly interprets the resulting selection (after the movement) to determine how to extend its own selection all this to work around the fact that we can't set an inverted selection in a textfield. the editor automatically extends its set of cursor-movement key combos when such a key is pressed, to handle user keybindings
-
- Jan 12, 2011
-
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
- Jan 11, 2011
-
-
Marijn Haverbeke authored
shift-select is still broken in ten different ways, though
-
Marijn Haverbeke authored
basic editing works. no highlighting, crappy mouse support
-