- Jan 31, 2011
-
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
(getSelection, focus, setParser, cursorCoords)
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
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
-