Commit graph

310 commits

Author SHA1 Message Date
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
4b584d6633 Better tick scheduling, added {{.}} to inflate. 2014-03-07 23:30:47 -08:00
Thomas Wilburn
43d6b462f7 this bugs are the worst. 2014-03-07 22:33:32 -08:00
Thomas Wilburn
e1c05a2c95 Animation tweaks. 2014-03-07 21:17:16 -08:00
Thomas Wilburn
4aba4cc503 Give ProjectManager loading UI
See #156. This change adjusts the project manager to have a loading bar
during lengthy operations. It also adds a `tick()` method that queues up
operations in 15ms chunks--we'll still blow the frame budget most times,
but it keeps things reasonably responsive (at least until the render
tree has to be added to the DOM).
2014-03-07 21:09:05 -08:00
Thomas Wilburn
6ce3134a9c Fixes #150
This looks pretty good. RosettaCode, which has 75,000 files, is
reasonably responsive when searching. I don't know what Chromium is like
in terms of files, but I also suspect I know my limitations for now.
2014-03-07 21:06:08 -08:00
Thomas Wilburn
59861736b1 Update modification time as part of session:revert-file. 2014-03-06 06:56:01 -08:00
Thomas Wilburn
3fc55120ac Fix a bug where the palette 'showed' too many results 2014-03-05 15:47:47 -08:00
Thomas Wilburn
0ccb026150 Add project ignoreFiles option. Fixes #153 2014-03-05 15:44:33 -08: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
c2c8f64799 Update files on window focus. Fixes #149 2014-03-05 07:34:33 -08:00
Thomas Wilburn
ea5e58fc57 Correctly trigger hover class removal. 2014-02-28 11:27:16 -08:00
Thomas Wilburn
f288a61578 Fill in some missing file handler registrations. 2014-02-27 18:54:37 -08:00
Thomas Wilburn
9f54dcfec8 Code cleanup and commenting. 2014-02-26 22:34:02 -08:00
Thomas Wilburn
bbd9a4fad0 Bugfix in previous commit--replace, _then_ split 2014-02-26 22:02:33 -08:00
Thomas Wilburn
c4cc9f4598 Fix some bugs with the palette, syntax cleanup, add comments. 2014-02-26 18:56:05 -08:00
Thomas Wilburn
e847ffc9ad Fix a bug with file restore failures. 2014-02-26 10:05:15 -08:00
Thomas Wilburn
6ec5c2be01 Converted project manager to templates. 2014-02-26 08:57:15 -08:00
Thomas Wilburn
1d18d42e38 Clean up session dependencies 2014-02-23 15:48:51 -08:00
Thomas Wilburn
2f57992d5a Hide dragged tabs. 2014-02-23 15:17:05 -08:00
Thomas Wilburn
809a7b6917 Fixing visual drag-drop indications on the tab list. 2014-02-23 14:56:48 -08:00
Thomas Wilburn
10385d5579 Session refactoring mostly done 2014-02-23 14:21:59 -08:00
Thomas Wilburn
4757e8fda1 Fix close buttons masking the tab gradient. 2014-02-23 14:21:11 -08:00
Thomas Wilburn
ecf39ae914 Merge branch 'master' of github.com:thomaswilburn/Caret 2014-02-23 12:59:23 -08:00
Thomas Wilburn
2d68149cc5 . 2014-02-23 12:30:30 -08:00
Thomas Wilburn
b6d4371400 Start moving session state into an external module, similar to the way that Ractive splits out its modules. 2014-02-23 12:28:41 -08:00
Thomas Wilburn
0e7c30c8ea ...... 2014-02-21 22:49:40 -08:00
Thomas Wilburn
7fe8e2a096 ... 2014-02-21 22:37:13 -08:00
Thomas Wilburn
3be5176d7b Detect syntax bug--finally fixed? 2014-02-21 22:27:36 -08:00
Thomas Wilburn
832e7c7f66 Tweaks to inactive tab styles. 2014-02-21 21:13:20 -08:00
Thomas Wilburn
52f8abbdc6 Fix a bug where syntax was detected but the dropdown wasn't set. 2014-02-21 20:46:28 -08:00
Thomas Wilburn
d6799bda61 Fixes #143 2014-02-21 20:29:41 -08:00
Thomas Wilburn
795a979d46 Raised the toast time, since it's nice for word count. 2014-02-21 17:50:12 -08:00
Thomas Wilburn
6717481072 Fixed a bug that refused to open the default settings files. 2014-02-20 13:09:16 -08:00
Thomas Wilburn
f5467f1b6c Add commands for "insert from file" and "word count". Fixed a bug where palette commands can't really
show status bar toasts.
Fixes #141.
2014-02-20 09:00:29 -08:00
Thomas Wilburn
b01b122241 Add a scrollPastEnd option, default to true. 2014-02-19 07:49:55 -08:00
Thomas Wilburn
4ca0ddd399 Fix highlight line option 2014-02-06 12:26:01 -08:00
Thomas Wilburn
b9252f9b41 Fixes #131
An inconsistency in the two ways to declare ace commands caused a
failure in re-binding certain keys. Switched all default configs to the
shorter syntax, just in case.
2014-01-27 11:38:10 -08:00
Thomas Wilburn
ce8716be9f Found a bug where fileManager wouldn't trigger init:complete if there were no retained items. 2014-01-27 11:11:58 -08:00
Thomas Wilburn
a3c404de31 Nesting <a> in <a> isn't allowed, apparently. 2014-01-27 11:02:02 -08:00
Thomas Wilburn
3abdb574e6 Fix a bug where syntax wasn't re-detected after save-as. 2014-01-23 08:38:20 -08:00
Thomas Wilburn
1003b89965 Convert menus to templates (just for items, not recursive or using partials) 2014-01-22 09:26:53 -08:00
Thomas Wilburn
5d674b2f28 Update readme with details of templating library and plugin 2014-01-22 08:52:13 -08:00
Thomas Wilburn
9d5e28239d Removed unused template from main.html 2014-01-22 08:42:18 -08:00
Thomas Wilburn
e6f0b7070a Added a loadHTML() method for directly injecting templates 2014-01-22 08:42:08 -08:00
Thomas Wilburn
08e03d2de4 Converted dialogs over to templates. 2014-01-22 08:37:28 -08:00
Thomas Wilburn
0fd6aa550e Moved about dialog into template 2014-01-22 07:55:04 -08:00
Thomas Wilburn
8bba0ca36a Converted palette to templates 2014-01-21 22:47:02 -08:00
Thomas Wilburn
27499bf1bc Converted tabs over to the templating plugin, other rendering to follow 2014-01-21 19:01:00 -08:00