Commit Graph

29055 Commits

Author SHA1 Message Date
ardhipoetra
1cb8963402 fix link in ISSUE_TEMPLATE 2016-03-24 18:03:07 +01:00
Antonio Scandurra
e6cb5c8e89 🐛 Guard against unexisting screen rows 2016-03-24 15:57:24 +01:00
Antonio Scandurra
87489d4b0b Fix TextEditor cutToEndOfLine() test
…which was failing due to the different soft-wrapping rules.
2016-03-24 14:15:06 +01:00
Antonio Scandurra
4136e27d44 Fix TextEditor backspace() and delete() specs 2016-03-24 13:58:58 +01:00
Antonio Scandurra
a8d6a0036d Don’t unfold buffer rows when editing 2016-03-24 13:40:24 +01:00
Damien Guard
8b8e81efce Merge pull request #10862 from PaulAik/master
Fix for Default Directory Provider incorrectly identifying file paths as URLs on Windows
2016-03-23 15:45:15 -07:00
Wliu
53684f665f ⬆️ language-yaml@0.25.2 2016-03-23 16:19:03 -04:00
Wliu
986822aef6 ⬆️ language-shellscript@0.21.1 2016-03-23 16:14:18 -04:00
Antonio Scandurra
41272dc9ed Merge pull request #11240 from atom/as-accurate-block-decoration-measurements
More accurate block decoration measurements
2016-03-23 17:23:18 +01:00
Antonio Scandurra
6acbbb3a5c Improve DisplayLayer management 2016-03-23 17:20:08 +01:00
Antonio Scandurra
21831a4e43 🐛 Fix inaccurate logic in moveLineDown
Instead of deleting and then inserting, it’s better to do the opposite
so that we don’t have to translate points at all.
2016-03-23 16:16:51 +01:00
Antonio Scandurra
cbb911cde8 💚 2016-03-23 13:44:17 +01:00
Antonio Scandurra
f69c5bdee4 Oops. 2016-03-23 12:11:27 +01:00
Antonio Scandurra
25a4c4c293 Clear StorageFolder when --clear-window-state is supplied 2016-03-23 10:53:37 +01:00
Antonio Scandurra
80146ae631 Assign the supplied configDirPath to an instance variable 2016-03-23 10:52:34 +01:00
Antonio Scandurra
c2242e46c2 Read state from StorageFolder when it can’t be found in StateStore 2016-03-23 10:31:26 +01:00
simurai
fc564873c2 ⬆️ one-dark/light-ui@v1.3.0 2016-03-23 13:43:42 +09:00
Damien Guard
de6ab3b814 Exclude PATH entries with msbuild.exe to fix node-gyp on Windows 2016-03-22 17:26:41 -07:00
Damien Guard
dbf7214670 Fix clean command to actually work when paths missing 2016-03-22 17:26:30 -07:00
Nathan Sobo
d6933af487 ⬆️ text-buffer 2016-03-22 14:38:04 -06:00
Antonio Scandurra
3d9835bbbd 💚 WIP: Continue fixing TextEditor specs 2016-03-22 16:05:38 +01:00
Antonio Scandurra
756db7588b Return an invalidated range only when TokenizedBuffer has one 2016-03-22 14:59:26 +01:00
Antonio Scandurra
9abc547bfb Copy also DisplayLayer 2016-03-22 14:56:22 +01:00
Antonio Scandurra
326f2c6a9e Add TextEditor.prototype.tokensForScreenRow for testing purposes 2016-03-22 14:49:42 +01:00
Antonio Scandurra
b1e07c0cfe Use the new lineText property 2016-03-22 14:36:28 +01:00
Antonio Scandurra
27799d30f6 Use deserialized display layer when possible 2016-03-22 14:27:23 +01:00
Antonio Scandurra
137af38798 Add back screen row to block decorations nodes 2016-03-22 14:08:25 +01:00
Antonio Scandurra
4e23748660 Fix moveLineUp and moveLineDown to work with free-form folds 2016-03-22 14:02:13 +01:00
Antonio Scandurra
227670a407 Merge branch 'master' into ns-use-display-layers 2016-03-22 12:01:07 +01:00
Antonio Scandurra
cf22334455 Add invisible class to invisible block decorations 2016-03-22 11:50:54 +01:00
Antonio Scandurra
34f9ad8710 Add top/bottom ruler before/after a block decoration 2016-03-22 11:20:55 +01:00
Michelle Tilley
64308bbacb Revert "Revert "Allow pasting white space when autoIndentOnPaste is enabled""
This reverts commit 5c03894227.
2016-03-21 16:27:48 -07:00
Michelle Tilley
449abd7364 Revert "Revert "Add spec for inserting white-space-only lines""
This reverts commit fd17457c17.
2016-03-21 16:27:41 -07:00
Nathan Sobo
fd17457c17 Revert "Add spec for inserting white-space-only lines"
This reverts commit 746afb98ad.

@BinaryMuse Heads up this is the test associated with the other commit
you reverted. Had to revert it as well to get the build green. Didn’t
see a revert on beta so I’m assuming this is good enough?
2016-03-21 17:18:47 -06:00
Michelle Tilley
c5ed25a131 ⬆️ apm 2016-03-21 15:32:42 -07:00
Michelle Tilley
439825ea37 ⬆️ settings-view 2016-03-21 14:32:45 -07:00
Michelle Tilley
32a1d21a0d ⬆️ apm 2016-03-21 14:03:25 -07:00
Antonio Scandurra
8f2ebe8b79 🔥 2016-03-21 17:46:58 +01:00
Michelle Tilley
5c03894227 Revert "Allow pasting white space when autoIndentOnPaste is enabled"
This reverts commit 0088053de4.
2016-03-20 22:22:33 -07:00
Nathan Sobo
5aba734a41 Remove specialTokens object from TokenizedLine 2016-03-18 19:21:12 -06:00
Nathan Sobo
b0c5870425 Remove dead code from TokenizedLine 2016-03-18 18:15:41 -06:00
Nathan Sobo
1994e3b404 Remove TokenizedLine::copy 2016-03-18 18:10:04 -06:00
Nathan Sobo
462157039b Drop indentLevel and soft wrap support from TokenizedLine 2016-03-18 18:09:23 -06:00
Nathan Sobo
d62ef599cd Replace tokens with tagCodes in DisplayLayer.prototype.getScreenLines 2016-03-18 15:57:49 -06:00
Nathan Sobo
1a2f306db3 🚿 Remove commented code 2016-03-18 15:57:03 -06:00
Antonio Scandurra
0cd6bd19af Implement isWrapBoundary for DisplayLayer
So that we can correctly soft wrap CJK characters.
2016-03-18 18:30:35 +01:00
Josh Abernathy
39592599b1 Merge pull request #11201 from atom/bf-async-await
Remove an unnecessary call to then().
2016-03-18 13:29:11 -04:00
Michael Bolin
bb8f114dcb Remove an unnecessary call to then().
I see that this file has a little use of async/await and many uses of `then()`.
Things would be much less verbose and much more linear if async/await were used throughout.
Would Atom be open to a PR that changes this?

For bonus points, we could also replace `'use babel'` with `/* @flow */` at the top of the file :)
2016-03-18 09:56:33 -07:00
Antonio Scandurra
bbcbe9e809 Implement ratioForCharacter 2016-03-18 14:58:13 +01:00
Antonio Scandurra
3c70ff92f4 💚 Add TextEditor.prototype.screenLineForScreenRow
This is going to supplant our internal usage of
TextEditor.prototype.tokenizedLineForScreenRow().
2016-03-18 14:26:29 +01:00