- Mar 11, 2013
-
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
These changes are experimental, not documented yet, and might not end up in the stable API.
-
- Mar 08, 2013
-
-
Marijn Haverbeke authored
Issue #1321
-
Marijn Haverbeke authored
-
- Mar 07, 2013
-
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
The state.tokenize property could return an array, but the token method didn't count on that. Closes #1326
-
Hasan Karahan authored
-
edsharp authored
Allows correct hinting even when the tag is multi-line by achieving a dot matches all effect by using [\s\S] instead.
-
Marijn Haverbeke authored
-
Miguel Castillo authored
-
- Mar 06, 2013
-
-
Marijn Haverbeke authored
Issue #1317
-
Marijn Haverbeke authored
-
Chris Coyier authored
-
flack authored
With the eclipse theme, if you move your cursor on a bracket and have the matching bracket option enabled, spans with borders are inserted. They push the rest of the line to the right by the amount of the border width, which looks very crappy. Using outline instead of border fixes this
-
Tom MacWright authored
Ran into this when trying to include CodeMirror from Browserify - the path of `codemirror.js` doesn't point to the necessary `lib/codemirror.js` file.
-
- Mar 05, 2013
-
-
Marijn Haverbeke authored
-
Daniel, Dao Quang Minh authored
-
Yunchi Luo authored
-
Marijn Haverbeke authored
Closes #1310
-
- Mar 04, 2013
-
-
Marijn Haverbeke authored
-
Thaddee Tyl authored
Issues #988, #742, #612, etc. show that CodeMirror users tend to: 1. Not find how to make the Tab key insert spaces instead of a tab, 2. Miss how to use extraKeys to easily solve the issue. Adding an example helps them find a solution immediately.
-
- Mar 03, 2013
-
-
Joseph Pecoraro authored
This was causing "1^2" to tokenize as: (number, "1"), (variable, "^2). By tokenizing these bitwise operators as operators CodeMirror can correctly syntax highlight the 2 as a number. Likewise the number in "~0".
-
Marijn Haverbeke authored
-
David Pathakjee authored
-
Yunchi Luo authored
-
Yunchi Luo authored
-
Yunchi Luo authored
-
Yunchi Luo authored
-
- Mar 01, 2013
-
-
Joseph Pecoraro authored
StringString.prototype.match(<string>) may do a lot of unnecessary work: - If it is caseInsensitive it was calling toLowerCase on the entire string. - It did an indexOf search through the string for a pattern, but only cared if the string started with that pattern. Because a string pattern has a fixed length, we only need to run toLowerCase on a small substring of the stream, and we only compare this small substring to the pattern.
-
Brandon Frohs authored
-
Joseph Pecoraro authored
Fixes Issue #1301 StringStreams.prototype.column was always calculating the column offset for a position by walking from index 0 in the string to the current start position. That is factorial in performance and gets noticeably slower with long lines. StringStreams only ever advance forward. So when determining the column we can cache the value for a previous position on the line. Then the next time column is called, we only need to update the cache for the small portion that the Stream advanced. This way we only ever walk the stream once.
-
David Pathakjee authored
(->> 'clojure.core ns-publics (map first) sort (clojure.string/join " "))
-
John Connor authored
Functionality and error messages match the latest vim 7.0 release.
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Ford_Lawnmower authored
-
Ford_Lawnmower authored
-
- Feb 28, 2013
-
-
Brandon Frohs authored
Previously, lists following other content weren't always highlighted.
-