Commit graph

28 commits

Author SHA1 Message Date
pdebelak
984ee5bd2f Set Ctrl-D to act more like Sublime Text where it will select the current word if none is selected or select the next matching selection if a selection exists 2015-01-20 12:14:57 -06:00
Thomas Wilburn
1597f6bd92 Fixes #279 2014-08-30 23:01:02 -07:00
Thomas Wilburn
741ed76e36 Localize some leftover palette messages. 2014-07-20 09:53:21 -07:00
AMiniLegend
57c63345ca Added "wrap" function:
"Wrap" will find the first blank line before and after a selection and use this range as a paragraph to wrap. The paragraph is split into words (space delimited) and the length of each word is used to make sure that a single line will not exceed the print margin (ruler) width. If a single word exceeds that width, the word is split.
2014-05-24 19:34:00 -04:00
Thomas Wilburn
0437e6b30f Use Ace search to trim lines. Fixes #205 (for real this time). 2014-05-12 19:59:16 -07:00
Thomas Wilburn
e2c1ed826a Fix bug that resulted from mucking with line ranges.
Partial fix for #205. Still needs a solution in order to restore folds
after we've trimmed all the lines.
2014-05-12 16:26:42 -07:00
Thomas Wilburn
dec30ed854 Added a "set newline mode" command binding.
Fixes #198.
2014-05-03 15:34:17 -07:00
Thomas Wilburn
4e25c90dff Add an option for removing empty lines when trimming whitespace. Fixes #158 (again) 2014-04-08 12:07:08 -07:00
Josh Baker
43e3ce723b Only trim whitespace between non-whitespace and newline (Issue #158)
This prevents trimming lines that only have whitespace.
2014-03-13 11:42:39 -04:00
Thomas Wilburn
11d3100ee7 Actually make 'trim whitespace' work without blowing up the cursor position. 2014-03-05 09:36:19 -08:00
Thomas Wilburn
befba25f86 Added a 'trim whitespace' command and trigger it on save if enabled. Fixes #151 2014-03-05 08:52:48 -08:00
Thomas Wilburn
37cd59d0a6 Add async callbacks to a bunch of commands
See #80.
2013-12-23 16:15:03 -08:00
Thomas Wilburn
3dcbbbed66 Add commands.json for #93 2013-12-16 08:51:56 -08:00
Thomas Wilburn
6331cfebdf Added keyboard patch for funky Chromebook search key combos (now compatible with Crouton). 2013-12-13 08:25:10 -08:00
Thomas Wilburn
dfe8749c58 Organized module locations. Fixed a context menu bug. 2013-12-04 09:24:04 -08:00
Thomas Wilburn
3f992a3e43 Added ability to turn off line highlight.
Fixes #77.
2013-12-02 15:17:46 -08:00
Thomas Wilburn
adfb259346 Convert tabs to spaces and back again 2013-10-24 19:13:07 -07:00
Thomas Wilburn
5343b986b4 . 2013-10-08 11:06:47 -07:00
Thomas Wilburn
5109743cb9 Much better expand-to-matching behavior. 2013-10-08 10:21:10 -07:00
Thomas Wilburn
03524a9ef0 Ace has a command we can use directly instead of shimming Sublime's "expand to word" 2013-10-08 09:37:19 -07:00
Thomas Wilburn
b0a743c703 That's what bind() is for. 2013-10-07 18:18:41 -07:00
Thomas Wilburn
27bd4847a4 Added selections for word, paragraph, and matching brackets. See issue #48 2013-10-07 18:09:35 -07:00
Thomas Wilburn
c4fd777a8c Added statusbar module. Fixes #39 2013-09-20 08:31:04 -07:00
Thomas Wilburn
9d10dfa9b2 Much better palette with basic command support. 2013-09-10 23:15:04 -07:00
Thomas Wilburn
bd964ed279 Palette work starts. 2013-09-10 09:19:14 -07:00
Thomas Wilburn
19fdbbb1d8 Added Edit menu with lots of Ace bindings. 2013-09-05 20:01:24 -07:00
Thomas Wilburn
cc4c0e5c94 Added some basic Sublime keystrokes. 2013-09-05 19:44:42 -07:00
Thomas Wilburn
e2c7053238 Added an aceBindings.js file to act as the abstraction between DOM-triggered commands and Ace. 2013-09-04 12:45:06 -07:00