Commit Graph

79 Commits

Author SHA1 Message Date
Nathan Sobo
218086d379 Merge branch 'master' into comment-cursor-placement 2019-04-08 16:19:25 -06:00
Ash Wilson
af64c82a7f Consolidate the "type" documentation to a single list 2019-02-01 13:52:21 -05:00
Ash Wilson
6dd7dcd83b Document the new parameter 2019-02-01 13:37:30 -05:00
Winston Liu
a55daa33b2 👕 2019-01-02 19:58:51 -05:00
Winston Liu
9dee1d16a1 Move getBuffer out of Event Subscription section 2018-12-28 20:05:27 -05:00
Benjamin Gray
a3020f74e1 address feedback 2018-11-22 01:59:33 +11:00
Benjamin Gray
0fc11e09f8 Remove exclusive 2018-11-22 01:57:49 +11:00
Benjamin Gray
cc845c3bae Try new way 2018-11-22 00:56:00 +11:00
Benjamin Gray
6ae7ecbd0a Fix lint 2018-11-21 19:51:08 +11:00
Benjamin Gray
81bbd9c304 Reimplement toggle comment cursor behaviour (and fix bug) 2018-11-21 16:45:55 +11:00
Max Brunsfeld
6af0cbfc2d Use the correct comment strings for nested languages 2018-10-25 14:36:44 -07: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
Max Brunsfeld
d937f14265 Fix off-by-one error that was masked by TextMateLanguageMode
TextMateLanguageMode.isRowCommented would return `undefined` instead of 
`false` for out-of-bounds rows.
2018-08-24 09:34:58 -07:00
Ash Wilson
291bf4d835 Pass maxDigits to labelFn 2018-07-24 12:27:33 -04:00
Ash Wilson
fdf5d50196 Support custom onMouseDown and onMouseMove event handlers 2018-07-24 12:20:30 -04:00
Ash Wilson
c064c87188 Add a custom CSS class to the Gutter's root element 2018-07-24 10:52:50 -04:00
Ash Wilson
6880ac9ff6 Missed a "kind" 2018-07-24 10:03:03 -04:00
Ash Wilson
795c3b27aa Use type instead of kind 2018-07-24 09:53:14 -04:00
Ash Wilson
e832c0b8dd Support multiple kind: line-number gutters 2018-07-24 09:38:11 -04:00
Ash Wilson
dbace171df Add a kind property to Gutters 2018-07-24 09:37:23 -04:00
Max Brunsfeld
d36c102ca0 Don't scroll in unfoldAll if there were no folds 2018-04-25 12:57:59 -07:00
Ash Wilson
a0c68ec70b 👕 restore missing break 2018-04-12 14:43:13 -04:00
Ash Wilson
48a622cc74 Increment the version of the readOnly serialization key 2018-04-12 14:23:17 -04:00
Ash Wilson
4e9544583b Can't use the same name for the property and method 2018-04-12 14:07:17 -04:00
Ash Wilson
1def646e09 Return the property we're actually setting 2018-04-12 13:35:30 -04:00
Ash Wilson
0a48c3cece Separate TextEditor keyboard enablement from readOnly state 2018-04-12 11:50:11 -04:00
Jason Rudolph
72b664dc88 📝 Document deprecation for undo option
Refs #16956
2018-04-05 19:55:05 -04:00
Ash Wilson
ebb7647903 Mutation methods are no-ops in production. Throw in dev or spec mode 2018-03-21 14:25:50 -04:00
Ash Wilson
8fee5f8fb2 Merge remote-tracking branch 'origin/master' into aw/no-really-read-only 2018-03-21 11:55:52 -04:00
Ash Wilson
d405039581 Pass {bypassReadOnly} to selection.cut() 2018-03-21 11:53:36 -04:00
Ash Wilson
56a3f1bc41 Fill in missing ensureWritable() calls caught by the specs 2018-03-21 09:29:36 -04:00
t9md
b35cfaed20 Pass selectionsMarkerLayer on transact, undo and redo
To restore selections of change initiated editor on undo/redo.
2018-03-21 14:25:59 +09:00
Ash Wilson
1f866bd592 Add options.bypassReadOnly on methods that modify the underlying Buffer 2018-03-20 16:38:15 -04:00
Ash Wilson
08ca84e587 📝 Convert code samples to js 2018-03-20 09:37:47 -04:00
Max Brunsfeld
2100f90cf4 Provide a default scope descriptor if language mode doesn't provide them 2018-02-21 14:55:58 -08:00
Wliu
1e1884ef27 📝
[ci skip]
2018-01-17 18:03:48 -05:00
Max Brunsfeld
6998c2df8c Merge branch 'master' into mb-tree-sitter-parsers 2018-01-03 14:53:06 -08:00
Max Brunsfeld
733d6381cc Fix handling of {undo: 'skip'} in TextEditor.insertText
Signed-off-by: Nathan Sobo <nathan@github.com>
2018-01-03 13:00:53 -08:00
Max Brunsfeld
aed6248b7b Merge branch 'master' into mb-tree-sitter-parsers 2017-12-29 16:21:54 -08:00
Max Brunsfeld
0b6e994ac6 Merge branch 'master' into mb-tree-sitter-parsers 2017-12-27 12:35:51 -08:00
Ford Hurley
b5189e4e4a Delint 2017-12-27 15:16:13 -05:00
Ford Hurley
f96a0d922e Ensure that new editors get unique ids
This restores the behavior from when TextEditor was written in
coffeescript, and extended the Model class.
2017-12-27 13:42:40 -05:00
Mark Lee
2c2d9597a7 💚 remove trailing whitespace from text editor docs 2017-12-24 12:10:29 -08:00
Wliu
4ed59b3ee7 📝 Update TextEditor::scopeDescriptorForBufferPosition docs
[ci skip]
2017-12-21 21:20:31 -05:00
Max Brunsfeld
f4fa7f910e Merge branch 'master' into mb-tree-sitter-parsers 2017-12-15 09:45:21 -08:00
Damien Guard
ca53cf9ec1 Remove the texteditor isModified/isReadOnly handling intended for unsavable edit buffers as causes issues with vim-mode-plus 2017-12-13 09:17:30 -08:00
Max Brunsfeld
f712de65d0 Fix nesting level calculation for children of partially-folded nodes
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-12-07 15:30:48 -08:00
Max Brunsfeld
725d7db7ae Merge branch 'master' into mb-tree-sitter-parsers 2017-12-06 14:56:09 -08:00
Katrina Uychaco
b3cee41f28 Merge remote-tracking branch 'origin/master' into ku-add-readonly-editor-attribute 2017-12-05 14:02:39 -08:00