Commit graph

365 commits

Author SHA1 Message Date
Denis M.
68889d1c40 Add missing 'words' word in the "Word count" toast 2014-05-29 16:41:53 +02:00
Thomas Wilburn
400b9027ed Allow a single-argument callback for File.open().
Fixes #235.
2014-05-28 09:13:01 -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
597a7c3202 Fixes #230 2014-05-23 17:49:54 -07:00
Thomas Wilburn
77726fe218 Open launch data after retained files, for a more natural tab ordering. 2014-05-15 07:34:18 -07:00
Thomas Wilburn
ee558a7a3b Update the module readme files. 2014-05-14 21:31:20 -07:00
Thomas Wilburn
8e59e1b400 Re-order the handler code so that existing handlers are not removed until we have a valid replacement. 2014-05-14 17:55:09 -07:00
Thomas Wilburn
cf82c4df8a Fix a bug where the keyboard handler tries to delete non-existent Ace bindings and breaks all Ace bindings. 2014-05-14 17:28:18 -07:00
Thomas Wilburn
510001860a Forgot to add the ace loader plugin 2014-05-13 23:19:54 -07:00
Thomas Wilburn
6b45ede3b6 Fix for vim keybindings being lost on save, as well as other general remap bugginess 2014-05-13 23:05:26 -07:00
Thomas Wilburn
17b69b0528 Added transitions to the palette. 2014-05-13 22:46:49 -07:00
Thomas Wilburn
16b004b1df Correctly de-register Ace's previous handler and register handler with Caret mappings unbound 2014-05-13 22:11:37 -07:00
Thomas Wilburn
729612d2e6 Focus default dialog if you click away from it. 2014-05-12 21:17:55 -07:00
Thomas Wilburn
d14c92248d Added splashy dialog transitions. 2014-05-12 21:10:09 -07:00
Thomas Wilburn
6c85d0d706 Stop reloading preferences files on save, it's causing nothing but trouble. 2014-05-12 20:21:50 -07:00
Thomas Wilburn
e5c81d158a Fire session:render instead of manually calling renderTabs() to prevent bug when saving preferences. 2014-05-12 20:15:39 -07:00
Thomas Wilburn
bc75171224 Debounce tab rendering for a little less painting churn. 2014-05-12 20:14:27 -07: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
84358e859b Better drag/drop feedback for tabs. 2014-05-04 21:53:50 -07:00
Thomas Wilburn
f858c0d93c Temp fix for #216 2014-05-04 16:12:30 -07:00
Thomas Wilburn
b3862bcc8e Bad variable reference in file manager. 2014-05-04 02:45:49 -07:00
Thomas Wilburn
12870d3b1d Revert Promises in file API to callbacks.
Promises do not seem reliable as they are in Chrome 34. Rather than
continue to implement hacks that can work around these problems, let's
just go back to callbacks. Maybe we don't need to be on the cutting edge
_all_ the time.
2014-05-04 02:09:19 -07:00
Thomas Wilburn
a30bb4687e Added a workaround for Chrome promise bugs. 2014-05-04 01:11:07 -07:00
Thomas Wilburn
2dcd86d8be Fix bugs where project manager still uses callback style. 2014-05-03 23:29:22 -07:00
Thomas Wilburn
d10791bbad Add an emergency reset menu item
Fixes #191
2014-05-03 15:55:38 -07:00
Thomas Wilburn
dec30ed854 Added a "set newline mode" command binding.
Fixes #198.
2014-05-03 15:34:17 -07:00
Thomas Wilburn
f8b4c4c37f De-callback in favor of promises in the file APIs. Fixes #139 2014-04-25 08:03:47 -07:00
Thomas Wilburn
b0c56da3c3 Added an app:browse command and then removed help.json, since it's useless. 2014-04-24 12:15:51 -07:00
Thomas Wilburn
2fd765b776 Fix a bug where the settings files aren't pulled before loading.
Fixes #197
2014-04-23 10:15:37 -07:00
Thomas Wilburn
6d262c35fb Fix a bug where new, unmodified tabs would pester on close. 2014-04-23 10:15:14 -07:00
Thomas Wilburn
d00d35f611 Be more formal about the file read step on restore, just in case 2014-04-11 09:08:41 -07:00
Thomas Wilburn
ec6f20c72c Actual fix for #188 2014-04-10 16:48:01 -07:00
Thomas Wilburn
70de2e218a Fix #188 - middle clicks were broken when tab labels got split into a child of the element. 2014-04-10 08:43:03 -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
Thomas Wilburn
8de17a0c94 Editor needs to resize after a fullscreen class change. 2014-04-06 09:00:48 -07:00
Thomas Wilburn
375424beaf Added a check for fullscreen on startup 2014-04-04 13:21:27 -07:00
Thomas Wilburn
d7e8f0a8a7 Fixes for immersive fullscreen on ChromeOS 2014-04-04 13:13:25 -07:00
Thomas Wilburn
e33a8590aa Check file modification on app:exit
Prompts for save/discard/cancel when user triggers an app:exit via menu,
button, or palette. Fixes #178.
2014-04-04 09:42:31 -07:00
Thomas Wilburn
58e13656f5 Forgot a closing paren. 2014-04-04 09:16:35 -07:00
Thomas Wilburn
bc02a28029 Enable immersive fullscreen option. Fixes #179 2014-04-04 09:13:54 -07:00
Thomas Wilburn
1789df09c3 Add a debug command line for issuing Caret commands.
Fixes #145.
2014-04-03 23:45:19 -07:00
Thomas Wilburn
a3d50a16a0 Fix a bug where fullscreen can still be 'maximized' before it returns to windowed mode. 2014-04-03 15:59:14 -07:00
Thomas Wilburn
599ac9f1db Enable app frame with inline menu and window controls. See #176 2014-04-03 15:06:30 -07:00
Thomas Wilburn
902d8eb46b Add styles and option for auto-collapsing the project manager. 2014-04-03 08:56:05 -07:00
Thomas Wilburn
953f53287d Also added a restart command, which may prove useful. 2014-03-24 19:29:56 -07:00
Thomas Wilburn
56f87c996e Add a debug command (may not work without packaged debugging enabled. 2014-03-24 19:22:52 -07:00
Thomas Wilburn
c985bcca82 Fix a bug where the palette may end up unresponsive due to an uninitialized debounce timeout 2014-03-24 18:44:07 -07:00
Voica Adrian
d9fef43e22 New tab button (cleanup) and doubleclick tab bar. 2014-03-24 17:18:25 +02:00
Thomas Wilburn
5bab125e9a Fixes #170 2014-03-22 06:09:28 -07:00