Commit Graph

11483 Commits

Author SHA1 Message Date
Kevin Sawicki
c12f94907d Remove grim.deprecate override 2015-03-26 16:36:00 -07:00
Nathan Sobo
127e0fbf6b Merge pull request #6114 from atom/mb-ns-fix-autoscroll
Fix autoscroll on undo
2015-03-26 17:34:39 -06:00
Nathan Sobo
ae4f7f6170 Explicitly autoscroll when needed
Rather than when the selection’s marker changes. This is simpler than
suppressing autoscroll via state when we don’t want it. It also captures
the intent to autoscroll when attempting to move the cursor at the
beginning or end of the document.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-03-26 16:48:24 -06:00
Nathan Sobo
99c437ccec Allow autoscroll override option in cursor/selection methods
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-03-26 16:48:21 -06:00
Kevin Sawicki
a70be30ee7 🎨 2015-03-26 14:37:30 -07:00
Kevin Sawicki
14d1fc2269 Merge pull request #5898 from basarat/master
Transpile all .ts files
2015-03-26 14:33:04 -07:00
Nathan Sobo
10458a5b45 Always autoscroll when the range of the last selection changes
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-03-26 15:30:53 -06:00
Kevin Sawicki
45afc9eb46 Handle EISDIR save errors
Closes #6100
2015-03-26 13:29:30 -07:00
Max Brunsfeld
2f5d975338 Remove autoscroll-related legacy editor view support
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-03-26 11:12:37 -07:00
Kevin Sawicki
27ffac5f1a Set less property on caught error 2015-03-24 13:17:57 -07:00
Kevin Sawicki
40b4e36c09 Add custom formatting for Less errors 2015-03-24 13:17:56 -07:00
Basarat Syed
6f1b061dac Added TypeScript to the compile-cache 2015-03-24 18:05:30 +11:00
Michael Bolin
14316b1cd7 Add Repository::getType().
For `GitRepository`, this will return `"git"`.
2015-03-23 15:38:38 -07:00
Kevin Sawicki
11a5b71fb3 Merge pull request #6047 from postcasio/project-deprecations
Fix deprecated calls and recommendations in deprecated methods
2015-03-23 09:24:07 -07:00
postcasio
c4ae567e8f Fix deprecated calls and recommendations in deprecated methods 2015-03-20 09:22:02 +00:00
Kevin Sawicki
ec0681ed36 Merge pull request #6038 from atom/ks-remove-unwanted-loop-returns
Remove unwanted loop returns
2015-03-19 14:16:26 -07:00
Kevin Sawicki
576e00fb93 Keep returning array from TextEditor::mutateSelectedText 2015-03-19 11:57:16 -07:00
Kevin Sawicki
9f31afcbc9 Add explicit return after while loop 2015-03-19 11:48:40 -07:00
Kevin Sawicki
23eacc1e58 Add explicit return after for loop 2015-03-19 11:48:40 -07:00
Kevin Sawicki
a9803d3c4d Add explicit return after for loop 2015-03-19 11:48:40 -07:00
Kevin Sawicki
d9a5aff919 Add explicit return after for loop 2015-03-19 11:48:40 -07:00
Kevin Sawicki
590a4b0fd5 Add explicit return after for loop 2015-03-19 11:48:40 -07:00
Kevin Sawicki
f728bc7aec Add explicit returns to browser process classes 2015-03-19 11:48:40 -07:00
Nathan Sobo
6345799cf3 Revert "Don't soft-wrap on indentation" 2015-03-19 12:47:58 -06:00
Jessica Lord
390e95e220 Merge branch 'master' into jlks-missing-services-fix 2015-03-19 10:19:56 -07:00
Antonio Scandurra
0e0eeb3426 🔥 Delete TokenizedLine#isColumnOutsideIndentation 2015-03-19 12:23:10 +01:00
Antonio Scandurra
03b526a76b 🎨 Use only @firstNonWhitespaceIndex 2015-03-19 11:52:10 +01:00
Antonio Scandurra
56020b11b0 🐛 Avoid soft-wrapping on indentation 2015-03-19 11:36:55 +01:00
Basarat Syed
c2f258c679 Addressed code review 2015-03-19 11:45:13 +11:00
Jessica Lord
a787242e7a check that services method exists
Signed-off-by: Kevin Sawicki <kevin@github.com>
2015-03-18 15:37:16 -07:00
Nathan Sobo
609a661174 Merge pull request #6010 from atom/as-soft-wrap-hanging-indent
Soft wrap hanging indentation spaces
2015-03-18 11:39:27 -06:00
Antonio Scandurra
522e82ebf1 🎨 Refactor buildSoftWrapIndentationTokens
...as suggested by @nathansobo 
2015-03-18 18:07:07 +01:00
Antonio Scandurra
f5e1e40edd Avoid named parameter to save an allocation 2015-03-18 17:44:35 +01:00
Antonio Scandurra
7c33b9bf41 🎨 Rename to softWrapHangingIndent 2015-03-18 14:18:27 +01:00
Antonio Scandurra
e5fa44171d 🐛 Hanging indent must be a positive value 2015-03-18 14:15:52 +01:00
Antonio Scandurra
ae2c92a1dc 📝 2015-03-18 11:29:39 +01:00
Antonio Scandurra
f0b9bb7ce3 Show indent guides on hanging indentation too 2015-03-18 11:17:34 +01:00
Basarat Syed
8793bebfab tests for typescript transpiling 2015-03-18 17:53:15 +11:00
Kevin Sawicki
cd5adb6ab7 Clear invalid rows when short-circuiting for null grammar 2015-03-17 17:41:22 -07:00
Kevin Sawicki
e68c8cc938 Merge pull request #6007 from octref/fix-large-file-delay
🐎 Don't tokenize on NullGrammar
2015-03-17 17:00:40 -07:00
Kevin Sawicki
eb63556b27 Use - in socket file name 2015-03-17 16:51:52 -07:00
Kevin Sawicki
a64e1c9ca8 Merge pull request #5960 from Bjoernsen/patch-1
Enable multiple users
2015-03-17 16:50:00 -07:00
Antonio Scandurra
c4d2e0eac8 Add default editor.softWrapHangingIndentationSpaces 2015-03-17 22:42:51 +01:00
Antonio Scandurra
6d39bd3657 Verify that hanging indentation is tokenized 2015-03-17 22:21:07 +01:00
Antonio Scandurra
67b1d7890b Add soft-wrap hanging indentation spaces 2015-03-17 22:05:43 +01:00
octref
ddb4556658 Don't tokenize on NullGrammar
For file format that Atom doesn't recognize as a
programming language, such as log files,
skip Tokenization since no syntax highlighting should be done.
2015-03-17 15:27:02 -04:00
Kevin Sawicki
05bcebe583 Add unsubscribe from item helper 2015-03-16 16:44:53 -07:00
Kevin Sawicki
0a16371845 Dispose of destroyed listener on remove item 2015-03-16 16:44:53 -07:00
Kevin Sawicki
792a124668 Add onDidChangeIcon event subscription 2015-03-16 16:44:53 -07:00
Kevin Sawicki
4d344c16b3 Don't call on when onDidDestroy exists 2015-03-16 16:44:53 -07:00