Commit Graph

3969 Commits

Author SHA1 Message Date
Corey Johnson & Nathan Sobo
8184c0248b Don't store tabLength on EditSession 2012-11-06 11:56:18 -08:00
Corey Johnson & Nathan Sobo
b8beec6f55 Remove foldable from ScreenLine 2012-11-06 11:41:48 -08:00
Corey Johnson & Nathan Sobo
139f5d0b50 EditSession.setTabLength assigns tabLength on the TokenizedBuffer. 2012-11-06 11:35:13 -08:00
Corey Johnson & Nathan Sobo
78a24e1e9c Remove @fold from Token 2012-11-06 11:15:18 -08:00
Corey Johnson & Nathan Sobo
dacb5f063f Remove unused references to stateForScreenRow 2012-11-06 11:13:42 -08:00
Corey Johnson & Nathan Sobo
874af0f2bc Eliminate reference to TokenizedBuffer on EditSession 2012-11-06 11:09:38 -08:00
Corey Johnson & Nathan Sobo
10090219cb TokenizedBuffer change events reference the precipitating Buffer change event. 2012-11-06 10:56:05 -08:00
Corey Johnson & Nathan Sobo
0e0f747764 TokenizedBuffer.setTabLength retokenizes the entire buffer 2012-11-06 10:44:50 -08:00
Corey Johnson & Nathan Sobo
2c14bc7ebd Optimize breakOutAtomicTokens 2012-11-06 10:44:03 -08:00
Corey Johnson & Nathan Sobo
be424c365f 💄 2012-11-06 10:03:02 -08:00
Corey Johnson
d65f13b218 💄 2012-11-06 09:41:35 -08:00
Corey Johnson
a63f838cdb Simplify breakOutAtomicTokens method 2012-11-06 09:39:44 -08:00
Corey Johnson
b85a95eaa1 Make leading spaces atomic (length based on tabLength) 2012-11-06 09:03:54 -08:00
Corey Johnson & Nathan Sobo
89ef3f0f20 Build Token objects in TextMateGrammar. Tokenization-related renames. 2012-11-05 16:03:19 -07:00
Corey Johnson & Nathan Sobo
1ed76383ac 💄 2012-11-05 16:02:36 -07:00
Corey Johnson & Nathan Sobo
c3e43b753c 💄 2012-11-05 15:28:55 -07:00
Nathan Sobo
b87d7cd0df Auto-indent skips cursor over leading whitespace before inserting more
This preserves the user's intent to bring the line's total amount of leading whitespace to the desired indent level.
2012-11-05 15:15:00 -07:00
Nathan Sobo
8cd79dae49 Don't defer update of cursor position in status bar
We have to update it eventually, so it just adds complexity to delay it and we'll still pay a price during an extended burst of typing once the timer does fire.
2012-11-05 14:29:14 -07:00
Corey Johnson & Nathan Sobo
3b213e2960 Use single quotes when shelling out to ag.
This prevents `sh` from interpreting $ and \ as special characters.
2012-11-05 12:18:28 -08:00
Corey Johnson & Nathan Sobo
7d5377fe04 💄 2012-11-05 12:18:27 -08:00
Corey Johnson & Nathan Sobo
6613d336af Only interpret escaped characters in replacement text of substitutions 2012-11-05 12:18:27 -08:00
Corey Johnson
fbb154723d Lipstick 2012-11-05 12:18:27 -08:00
Corey Johnson
5535d37a3e Better error reporting when a grammar fails to load 2012-11-05 12:18:27 -08:00
Corey Johnson
f6b5b4d3bd There are no global bundles anymore. 2012-11-05 12:18:27 -08:00
Kevin Sawicki
3df28ab375 Store Git instance in Buffer
Access it from StatusBar for checking
path status and current branch.
2012-11-05 12:03:59 -08:00
Kevin Sawicki
c8258894c7 Add Buffer.checkoutHead()
Move implementation from Editor
to Buffer for checking out the
HEAD revision of the current path
2012-11-05 11:52:33 -08:00
Nathan Sobo
b686d89d18 Fix bugs in optimization of cursor line highlighting in the gutter 2012-11-05 11:05:30 -07:00
Kevin Sawicki
830a0b337a Add ctrl-Z keybinding to checkout HEAD revision 2012-11-03 15:50:50 -07:00
Kevin Sawicki
55d77eea8b Add empty mac stylesheet 2012-11-03 15:28:07 -07:00
Kevin Sawicki
71e7f73fa5 💄 2012-11-03 15:19:37 -07:00
Kevin Sawicki
1019154db6 Add Git.checkoutHead(path) 2012-11-03 15:09:52 -07:00
Kevin Sawicki
67c1cfe3c6 Add second file to git/working-dir fixture 2012-11-03 15:09:52 -07:00
Nathan Sobo
669b582254 Don't update the status bar text redundantly 2012-11-03 14:12:40 -06:00
Nathan Sobo
f76c9d5597 Don't update the highlighted line number if it's already highlighted 2012-11-03 14:12:40 -06:00
Kevin Sawicki
9ef13eaea0 💄 2012-11-03 10:36:50 -07:00
Kevin Sawicki
4926d32f00 Reuse git instance unless editor path changes 2012-11-03 09:43:26 -07:00
Kevin Sawicki
814373b435 Return early when editor has no path 2012-11-03 09:38:55 -07:00
Kevin Sawicki
d1927e17f1 Set invisibles on editor from rootView 2012-11-02 17:51:23 -07:00
Kevin Sawicki
ee4849fe20 Extend existing invisibles hash with parameter 2012-11-02 17:51:22 -07:00
Kevin Sawicki
910ca47a61 Allow setting of invisibles on editor 2012-11-02 17:51:22 -07:00
Kevin Sawicki
ff8055be49 💄 2012-11-02 17:51:22 -07:00
Kevin Sawicki
9002130ad5 Assign invisiblesMap directly from param 2012-11-02 17:51:22 -07:00
Kevin Sawicki
6d7fac2bf8 💄 2012-11-02 17:51:22 -07:00
Will Farrington
8dbeb9f3d2 first spike at customizable invisibles characters 2012-11-02 17:51:16 -07:00
Kevin Sawicki
e86495080a Verify icon text in status label specs 2012-11-02 17:46:14 -07:00
Corey Johnson
bef4f9aaa5 💄 2012-11-02 16:09:02 -07:00
Corey Johnson
25744fcd61 Merge remote-tracking branch 'origin/master'
Conflicts:
	src/app/status-bar.coffee
2012-11-02 15:53:53 -07:00
Kevin Sawicki
ef00ba934f Copy libgit2 dylib and update using install_name_tool 2012-11-02 15:38:48 -07:00
Corey Johnson & Kevin Sawicki
3772a4ce1b Add new status icon to status bar 2012-11-02 15:37:05 -07:00
Corey Johnson & Kevin Sawicki
be533d4342 Add Git.isPathNew(path)
Renamed other method to Git.isPathModified
2012-11-02 15:36:35 -07:00