Commit graph

158 commits

Author SHA1 Message Date
Thomas Wilburn
20c5a23022 Fix a bug with deactivating menus on editor focus. 2013-10-07 17:59:10 -07:00
Thomas Wilburn
7703be96c5 Fix a bug in saving a new file 2013-10-07 17:54:00 -07:00
Thomas Wilburn
f9a680b27c Consistency in messages (forgot that session is singular). 2013-10-06 23:21:04 -07:00
Thomas Wilburn
53e23f5108 THAT'S NOT HOW ASYNC WORKS. 2013-10-06 23:13:22 -07:00
Thomas Wilburn
0d8f7c50d9 Manifest bump, added a fingerprint method to tabs. 2013-10-06 23:12:35 -07:00
Thomas Wilburn
50d839d66b Refactor tabs into their own module.
Fixes #49.
Fixes #44.
2013-10-06 23:03:14 -07:00
Thomas Wilburn
8939c4d582 Updated Ace, added Handlebars support. 2013-10-06 20:18:05 -07:00
Thomas Wilburn
c8406b3679 Improved search within files to list all results, but only one per line 2013-10-03 21:33:04 -07:00
Thomas Wilburn
301f28bf1b Added search, better labeling, to palette. Fixes #47 2013-10-03 20:59:46 -07:00
Thomas Wilburn
43e2eb4c4d More menu fixes.
We need to move to a unified keyboard shortcut format with Ace, it will
solve a lot of these problems.
2013-10-03 11:26:02 -07:00
Thomas Wilburn
8c46c70eaf Menu tweaks, fix for Toggle Macro shortcut. 2013-10-03 11:04:39 -07:00
Thomas Wilburn
c1be8f5b20 Manifest bump, correct typo in Ace again. 2013-09-25 10:25:12 -07:00
Thomas Wilburn
59e6fba043 Updated to newest version of Ace. 2013-09-25 10:17:13 -07:00
Thomas Wilburn
feecb3e5cd Reset syntax mode when you save out a new file. 2013-09-24 15:39:23 -07:00
Thomas Wilburn
d87e2beb40 Fix a save dialog bug. 2013-09-24 15:35:15 -07:00
Thomas Wilburn
f34b8a4fb2 Remove retain() for setRetained(). Fixes #22. 2013-09-24 12:38:34 -07:00
Thomas Wilburn
3509bbc856 Whitespace. 2013-09-24 12:16:19 -07:00
Thomas Wilburn
7275752aef Fixes for responsiveness and retained file loss. 2013-09-24 11:37:40 -07:00
Thomas Wilburn
474a18dc11 Use the tab stack instead of linear order. Fixes #32. 2013-09-24 11:03:39 -07:00
Thomas Wilburn
24ba113008 Special handling for config JSON that's just an array (i.e. menus.json) 2013-09-24 08:35:41 -07:00
Thomas Wilburn
18deed2e57 Many tweaks to dialogs, moving them to flex and adding better value handling. 2013-09-24 07:57:22 -07:00
Thomas Wilburn
bdc5891148 Resetting a settings file will also reset it in the editor if it is open. 2013-09-23 19:28:52 -07:00
Thomas Wilburn
0a6e209383 . 2013-09-23 19:22:03 -07:00
Thomas Wilburn
c6ecc7a028 Menus understand active state and hover, behave more like native. Fixes #38 2013-09-23 18:02:56 -07:00
Thomas Wilburn
12c7722aa3 Start moving menus into actual class for easier state-tracking and emulation of native menus. 2013-09-23 17:57:09 -07:00
Thomas Wilburn
88c1f1b081 Fix tab raise bug introduced with file manager. 2013-09-21 12:21:25 -07:00
Thomas Wilburn
7adee220fb Palette should trigger file modification check on raise, too. 2013-09-20 17:44:25 -07:00
Thomas Wilburn
7cffe61ad6 Raising a tab will check its modified date. Fixes #25 2013-09-20 17:39:04 -07:00
Thomas Wilburn
b1a0445a0a Removed unreliable selection character counts. Added option for line ending format. 2013-09-20 12:42:24 -07:00
Thomas Wilburn
afd7176745 Added option to disable update prompting.
Updates still happen, you just won't know about them.
2013-09-20 09:24:13 -07:00
Thomas Wilburn
66e0ccde61 Forgot to add statusbar. Palette now uses statusbar.toast(), among a number of other bug fixes. 2013-09-20 08:57:43 -07:00
Thomas Wilburn
c4fd777a8c Added statusbar module. Fixes #39 2013-09-20 08:31:04 -07:00
Thomas Wilburn
2d9c85e154 Added preferences for controlling margin display. 2013-09-20 08:08:41 -07:00
Thomas Wilburn
495c96d296 Fix some palette bugs, especially around the light theme. 2013-09-19 23:45:04 -07:00
Thomas Wilburn
843f98e673 Oops, missing dialog module. 2013-09-16 13:52:54 -07:00
Thomas Wilburn
5ff71e0a5c Added a revert option
Fixes #34
2013-09-16 11:58:37 -07:00
Thomas Wilburn
9ab0a76c84 Move file-specific code out of sessions.js
Fixes #33 (sort of)
2013-09-16 11:16:06 -07:00
Thomas Wilburn
5eaa8a4bb3 Added wrap limit option. 2013-09-16 10:31:07 -07:00
Thomas Wilburn
390104ee53 Added update check, moved layout onto GPU.
Fixes #31
2013-09-16 10:22:49 -07:00
Thomas Wilburn
8148091301 Alternate theme names are funny but end up being confusing. 2013-09-15 10:37:44 -07:00
Thomas Wilburn
fb07441d81 Fixes #28 2013-09-15 09:47:37 -07:00
Thomas Wilburn
038c525567 Add Vim mode for the crazies. 2013-09-14 14:08:25 -07:00
Thomas Wilburn
7c27cdc518 Protect against weird drag/drop by using a custom MIME type. 2013-09-14 13:55:54 -07:00
Thomas Wilburn
01b11788d8 Sweet animations when dragging tabs--take that, native 2013-09-13 23:59:43 -07:00
Thomas Wilburn
ac457fcb02 Improvements to the save/save as flow. 2013-09-13 19:35:57 -07:00
Thomas Wilburn
98fc8a79dc Remove error when cancelling save, dialogs should always be light-themed. 2013-09-13 18:38:11 -07:00
Thomas Wilburn
f7e6e73590 Only load settings files once for all modules, instead of loading once for each that requests a file. 2013-09-13 18:29:19 -07:00
Thomas Wilburn
c32204b9c4 Put the modification dot back--listening on the document instead of the session seems more performant. 2013-09-13 18:11:47 -07:00
Thomas Wilburn
ede582ae98 Saving should always save the file, modified or not. 2013-09-13 16:49:11 -07:00
Thomas Wilburn
b192b69554 Added errors on file read, disabled modification flag to prevent line error for now. 2013-09-13 16:30:05 -07:00
Thomas Wilburn
eb3dd078a3 Possible fix for rendering bug on new lines in unmodified files. 2013-09-13 16:05:37 -07:00
Thomas Wilburn
4ac4258f2b Fixes #24 2013-09-13 16:01:25 -07:00
Thomas Wilburn
e27bcff8c9 Support for light and dark UI themes. 2013-09-13 15:57:57 -07:00
Thomas Wilburn
295ca0c714 Settings are now merged a la Sublime, which is much better for migrations. 2013-09-13 13:26:46 -07:00
Thomas Wilburn
0fcae1f9c0 Add drag and drop tabs, fix some CSS.
Fixes #14
2013-09-13 11:13:00 -07:00
Thomas Wilburn
d07b1eda09 Better syntax memory and handling, particularly for settings JSON 2013-09-13 08:25:39 -07:00
Thomas Wilburn
c8cf1fd610 Added the ability to turn off worker-based hinting. 2013-09-13 08:01:52 -07:00
Thomas Wilburn
9d10dfa9b2 Much better palette with basic command support. 2013-09-10 23:15:04 -07:00
Thomas Wilburn
a5039a0ffe First command palette release. 2013-09-10 21:52:50 -07:00
Thomas Wilburn
a94aa183f5 Merge branch 'master' of github.com:thomaswilburn/Caret 2013-09-10 20:34:36 -07:00
Thomas Wilburn
63b471f122 Add ability to save/restore editor position. 2013-09-10 20:34:28 -07:00
Thomas Wilburn
fa0f0820e8 JSON tweaks. 2013-09-10 16:38:30 -07:00
Thomas Wilburn
bc1b736222 Fixes #17 2013-09-10 16:27:36 -07:00
Thomas Wilburn
971a5dd998 Font size options enabled
Settings also are now stored as strings, parsed only when pulled (allows
for comments in the editor mode). Fixes #16
2013-09-10 16:26:36 -07:00
Thomas Wilburn
bd964ed279 Palette work starts. 2013-09-10 09:19:14 -07:00
Thomas Wilburn
6ccd0aa737 Menus automatically learn about keyboard shortcuts. 2013-09-06 11:24:20 -07:00
Thomas Wilburn
83807d4ee2 Fixes #15 2013-09-06 09:33:05 -07:00
Thomas Wilburn
ea6d84025f Remove a bunch of snippets, added a build task. 2013-09-06 09:28:41 -07:00
Thomas Wilburn
a6e5d71f39 Menu changes (fixes #3). Added an about dialog. 2013-09-06 00:04:20 -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
f2caffef51 Rework Ace bindings to rebind at the editor level, since we use a similar command structure 2013-09-05 19:07:01 -07:00
Thomas Wilburn
f6a50148e0 Seriously, commmand? Not cool, Ace. 2013-09-05 18:20:18 -07:00
Thomas Wilburn
6a9b75019a Fixes #11, but may revert if this proves inconvenient. 2013-09-05 08:28:40 -07:00
Thomas Wilburn
af0e0bb743 Added ability to fire Ace commands directly from keys.json, will be useful for Sublime bindings. Fixes #8. Still need to unbind these commands on startup, or they won't take effect. 2013-09-05 08:24:46 -07:00
Thomas Wilburn
218e993298 Support arguments and shifted special keys in keys.json. Fixes #10 2013-09-05 08:11:19 -07:00
Thomas Wilburn
0b299340d1 Added UndoManager support to augmentTab() 2013-09-05 07:45:22 -07:00
Thomas Wilburn
98d7c67b43 Enable file manager support on ChromeOS, fix some bugs with retained files. 2013-09-04 18:36:27 -07:00
Thomas Wilburn
359c9b4c97 Dialog focus only - fixes #5 2013-09-04 16:36:33 -07:00
Thomas Wilburn
ea39891922 Added file retention, cleaned up the way that sessions are loaded and built out into tabs. 2013-09-04 15:01:32 -07:00
Thomas Wilburn
06d46cd515 Removed some menu items that probably won't work programmatically. Bumped manifest and added aceBindings to the sessions dependencies. 2013-09-04 12:45:51 -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
Thomas Wilburn
e53027813f Live reload for settings files. 2013-09-04 12:26:09 -07:00
Thomas Wilburn
7eae555fc7 Remove huge XQuery files for now. 2013-09-04 12:25:19 -07:00
Thomas Wilburn
2a5a2d28ef Simplified menu CSS, added ability to reset settings JSON files. 2013-09-04 10:28:31 -07:00
Thomas Wilburn
bb96a1da66 Enabled the word wrap and indentation options in user.json, display cursor position in bottom bar. 2013-09-04 08:53:11 -07:00
Thomas Wilburn
a1033b2c31 Settings now loaded from config into sync storage, editable as if files. 2013-09-03 08:47:59 -07:00
Thomas Wilburn
f16c840372 Added a note re: the init event pair 2013-09-01 18:28:31 -07:00
Thomas Wilburn
ea94f364a1 Bug in the command system was failing to close over callbacks properly. 2013-09-01 18:26:22 -07:00
Thomas Wilburn
eb899775b5 Set a body font for reliable tab line height 2013-09-01 17:54:21 -07:00
Thomas Wilburn
8f2eec812b Continue the HTML5 hotness by using <template> in the dialog instead of constructing DOM manually 2013-09-01 17:41:52 -07:00
Thomas Wilburn
9e10780ece Split CSS into multiple LESS files. Fixed a save bug on untitled files. 2013-09-01 12:41:39 -07:00
Thomas Wilburn
1b8264e707 Save modified file dialog, manifest bump 2013-09-01 12:23:13 -07:00
Thomas Wilburn
1b66c5e470 Fix a bug when closing the first tab 2013-09-01 11:36:56 -07:00
Thomas Wilburn
207440b08b Tabs now use that sexy, sexy flexbox syntax. 2013-09-01 11:34:21 -07:00
Thomas Wilburn
31d7b4572f Added a dialog service.
Also updated dom2.js to partially match the Selectors/DOM4 spec. Fixes
#1
2013-09-01 11:09:09 -07:00
Thomas Wilburn
00b19f6ae8 Fixed saving refactoring bug, auto-detect file syntax. 2013-08-31 21:33:18 -07:00
Thomas Wilburn
e8099e7a17 CTRL-tab support. 2013-08-31 21:21:21 -07:00
Thomas Wilburn
b414628ea1 Better session handling, set up holo-light tab styles. 2013-08-31 13:41:51 -07:00
Thomas Wilburn
8d7aaa2f89 Added app-wide key configuration 2013-08-31 13:23:41 -07:00