Commit Graph

11458 Commits

Author SHA1 Message Date
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
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
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
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
Kevin Sawicki
2219abece1 Don't use deprecated buffer events 2015-03-16 16:44:52 -07:00
Kevin Sawicki
03a59c570e Subscribe to onDidDestroy when available 2015-03-16 16:44:52 -07:00
Kevin Sawicki
fd614572f1 Deprecate all Selection::on calls 2015-03-16 16:44:52 -07:00
Kevin Sawicki
76df65b720 Deprecate all Project::on calls 2015-03-16 16:44:52 -07:00
Kevin Sawicki
7c15ec36a3 Deprecate all Marker::on calls 2015-03-16 16:44:52 -07:00
Kevin Sawicki
55a7ef352d Deprecate all TextEditor::on calls 2015-03-16 16:44:52 -07:00
Kevin Sawicki
d61ceacc26 Make One Dark the default UI/syntax themes 2015-03-16 14:50:15 -07:00
Nathan Sobo
010154f802 Merge pull request #5959 from atom/as-fix-select-above-below
Use screen ranges to select above and below
2015-03-16 11:26:54 -06:00
Bjoernsen
66fa86e129 Enable multiple users
Enable atom for multiple users on same linux computer.
2015-03-14 13:42:54 +01:00
Antonio Scandurra
6633c90af8 Use buffer ranges when merging selections 2015-03-14 10:05:04 +01:00
Antonio Scandurra
0a23a21953 🎨 Get rid of goalBufferRange 2015-03-14 09:48:19 +01:00
Max Brunsfeld
587ebd7538 Fix Project::relativePath w/ URLs 2015-03-13 15:07:56 -07:00
Max Brunsfeld
eb355118ad Merge pull request #5961 from atom/mb-batch-services-providers-by-package
Batch service providers by package
2015-03-13 13:28:41 -07:00
Max Brunsfeld
7ec46933bd Batch service providers by package 2015-03-13 11:42:30 -07:00
Nathan Sobo
a4257ed513 Merge pull request #5936 from atom/as-destroy-containing-folds-on-selection
Destroy only containing folds on selection
2015-03-13 11:28:46 -07:00
Bjoernsen
37f5a33116 Enable multiple users
Currently, it is not possible to use atom for multiple users on the same linux machine. The socket file '/tmp/atom.sock' belongs to the first user that starts atom.
With this small change, a socket file will be created for each user.
2015-03-13 13:36:07 +01:00
Antonio Scandurra
8ac4848805 Skip soft-wrap indentation tokens while selecting
* 🎨 Restructure specs a bit
*  Write specs for this new behavior
2015-03-13 12:05:18 +01:00
Antonio Scandurra
f4b791d33b Use screenPosition to select above and below 2015-03-13 10:57:45 +01:00
Antonio Scandurra
3b5a0b292d 📝 Better and consistent naming across specs and docs 2015-03-12 12:32:59 +01:00
Antonio Scandurra
9f1bb82451 Adjust DisplayBuffer#getVisibleRowRange logic
This fixes #4596, where the calculation returned a wrong range.

* 📝 State clearly that we'll return a closed interval in docs
*  Write tests to ensure a correct behavior
2015-03-12 10:08:02 +01:00
Daniel Hengeveld
aaa607f143 Merge pull request #5942 from atom/remove-docs
Update documentation to point to atom/docs
2015-03-11 23:02:59 -07:00
Ivan Žužak
036418c498 Merge pull request #5110 from amayer5125/ignorefiles
Add ._* to ignored file names
2015-03-11 17:37:42 -07:00
Scott Chacon
c4500af55a Merge remote-tracking branch 'origin/master' into remove-docs 2015-03-11 15:11:59 -07:00
Scott Chacon
b3325d64b0 update internal docs links 2015-03-11 15:11:46 -07:00