16 Commits

Author SHA1 Message Date
Rafael Oleza
7f3f040628 Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
Linus Eriksson
0e2501d6e4 Rename all the things 2018-10-18 17:48:54 +02:00
Linus Eriksson
67fd0e6349 Add a command to log the syntax tree 2018-10-17 18:09:26 +02:00
Matthew Dapena-Tretter
f60f1692fd Reset goal column on all cursor changes
Previously, pressing the home key (move-to-first-character-of-line)
while on an empty line wouldn't clear the goal column. This is because
it was only cleared on cursor *change* and that didn't result in a
change. With this commit, it's *always* cleared. Operations that want
to preserve the goal column can reset it afterwards.
2018-07-05 20:13:59 -07:00
Ash Wilson
7ffe82c1cd Special-casing \r breaks the word regexp 2018-03-29 15:06:06 -04:00
rosston
5d6507b872 Fix non-word char usage of current word cursor methods
Fixes a regression in 43aa3c788f
2018-01-11 21:40:21 -05:00
Max Brunsfeld
653ecd7f52 Merge branch 'master' into mb-use-language-mode-api 2017-11-15 12:52:36 -08:00
Max Brunsfeld
ff8ecf1a49 Fix errors when passing subword regex to native find methods 2017-11-08 14:00:00 -08:00
Max Brunsfeld
3d36455885 Make getNonWordCharacters take a position 2017-11-06 17:07:23 -08:00
Nathan Sobo
1e9753d8a5 Fix select-word command between word and non-word chararacters
In #15776, we accidentally stopped passing an option to the wordRegExp
method that caused us to prefer word characters when selecting words at
a boundary between word and non-word characters.
2017-11-02 10:22:22 -06:00
Max Brunsfeld
87d38c0a4d Return a Point from cursor word methods
Fixes #15847
2017-10-09 12:23:55 -07:00
Max Brunsfeld
8a6ef70611 Fix comment misplaced by decaffeinate 2017-10-01 09:39:51 -07:00
Max Brunsfeld
887ebd913b ⬆️ text-buffer 2017-09-30 23:50:46 -07:00
Max Brunsfeld
43aa3c788f Optimize cursor methods that find the current word 2017-09-29 17:20:47 -07:00
Max Brunsfeld
6c4a9c1987 Optimize getCurrentWordBufferRange 2017-09-29 17:20:47 -07:00
Max Brunsfeld
9f12b4f569 Convert Cursor to JS 2017-09-29 17:20:47 -07:00