Commit graph

97 commits

Author SHA1 Message Date
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
6717481072 Fixed a bug that refused to open the default settings files. 2014-02-20 13:09:16 -08:00
Thomas Wilburn
57d2b986b5 Add Settings.pull() for modules that want to request configs asynchronously instead of blocking load 2014-01-20 22:10:06 -08:00
Thomas Wilburn
57fec531c8 Move the Settings singleton into its own file for modules that want to load configs asynchronously. 2014-01-20 21:24:50 -08:00
Thomas Wilburn
5d250ef5e5 Added comments 2014-01-20 18:10:35 -08:00
Thomas Wilburn
81507d4a9c Refactor tab syntax and rendering out of sessions and into tab.js 2014-01-20 18:03:18 -08:00
Thomas Wilburn
6f762a9e59 Set up a valid init:complete event, process launch commands then. 2014-01-12 15:35:30 -08:00
Thomas Wilburn
d5c154838a Simplify tab context URLs -- they're not a heirarchy, they don't need a root path segment. 2014-01-12 10:37:52 -08:00
Thomas Wilburn
d26797ca80 Merge pull request #125 from mastercactapus/dragdrop
allow drag-drop opening of files and directories
Fixes #121
2014-01-12 01:24:49 -08:00
Nathan Caza
341812c5ac allow drag-drop opening of files and directories 2014-01-12 03:12:14 -06:00
Thomas Wilburn
b10a83b64e Remove data that's added now that we're using links instead of spans for tabs. 2014-01-12 00:32:21 -08:00
Thomas Wilburn
0f5f335655 Bugs in removeTab were keeping closeTabsRight from iterating. 2014-01-12 00:10:06 -08:00
Thomas Wilburn
77ea4ca42e Mental note, don't comment out code you want to run. 2014-01-11 23:58:45 -08:00
Thomas Wilburn
d61fb669a8 Added command binding for closing tabs to right
Also moved closeTab() function into a lambda, since it's confusing to
have both it and removeTab(), and the former only works with the context
menu anyway.
2014-01-11 23:57:34 -08:00
Nathan Caza
f6d33a3717 Made tabs anchors instead of span, allowing context menus
- Added Close and Close tabs to the right
use element instead of tabEl
add e.preventDefault() to stop tabs from opening a new window
2014-01-12 00:34:37 -06:00
Thomas Wilburn
2c34939a43 Open a new window if a command is received while inactive.
Commands will be buffered and passed in to be fired on initialization.
To suppress app launch, add the quiet flag to your command when firing
the message from an extension.
Fixes #122
2014-01-10 22:15:35 -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
1b04983d84 Use promises in tabs, sessions, fileManager. 2013-12-23 10:27:51 -08:00
Elisée Maurer
154b93c94d Shorten function name to enableTabMiddleClick 2013-12-21 07:18:49 +01:00
Elisée Maurer
ae42c58ada Close tab on middle-click
Also make sure we only fire regular commands when left-click is used,
not for any buttons
2013-12-21 07:02:54 +01:00
Thomas Wilburn
0227e06d46 Fixes #103 2013-12-20 15:10:23 -08:00
Elisée Maurer
53da1b8084 Implement change-tab-linear command, fixes #96
Bring back the ability to switch tabs linearly (to the left / right)
2013-12-19 19:00:50 +01:00
Thomas Wilburn
6595a39f75 Update syntax/theme dropdowns when setting from palette. 2013-12-16 09:21:55 -08:00
Thomas Wilburn
73cf465bea Manifest bump, style tweak. 2013-12-10 22:57:18 -08:00
Daniel Loomer
ea5a0f3a8b only reorder when there is a target
Fixes disappearing tabs, previously the tab was being removed from the
tab array and disappearing from the UI when sorted since the "from" and
"onto" were the same (itself).
2013-12-10 21:20:01 -05:00
Thomas Wilburn
dfe8749c58 Organized module locations. Fixed a context menu bug. 2013-12-04 09:24:04 -08:00
Thomas Wilburn
98e0a4f96a Merge #76
Corrected a possible array index error, used numbers instead of strings
for JSON. I should probably be better about being defensive, but
nothing's perfect.
2013-11-24 20:27:52 -05:00
Thomas Wilburn
1fedef397e Allow dialogs to use shortcut keys. Fixes #66. 2013-11-08 16:57:35 -08:00
Thomas Wilburn
14d9e5a47d Correctly set syntax when saving a new file. 2013-11-06 08:46:20 -08:00
Thomas Wilburn
13b9577863 Project files can include settings, which will override user prefs. 2013-11-06 08:35:57 -08:00
Thomas Wilburn
ab5ebb976b Show file size message in status bar when adding a tab 2013-11-06 07:48:18 -08:00
Thomas Wilburn
32c94db775 Added class sugar to dom2.js 2013-11-04 08:41:22 -08:00
Thomas Wilburn
33e8cb1425 Enable tab indentation for people who are wrong. 2013-10-24 12:32:30 -07:00
Thomas Wilburn
7de38ce442 Tab tweaks. 2013-10-17 09:09:37 -07:00
Thomas Wilburn
0c1183efae Added enter animations for tabs, which is kind of fun. 2013-10-16 17:06:32 -07:00
Thomas Wilburn
8573832fe7 File watching events should be dispatched correctly. Fixes #52 2013-10-09 20:24:30 -07:00
Thomas Wilburn
b330709260 Palette fixes, converted command to synchronous calls. 2013-10-08 09:27:28 -07:00
Thomas Wilburn
f9a680b27c Consistency in messages (forgot that session is singular). 2013-10-06 23:21:04 -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
feecb3e5cd Reset syntax mode when you save out a new file. 2013-09-24 15:39:23 -07:00
Thomas Wilburn
f34b8a4fb2 Remove retain() for setRetained(). Fixes #22. 2013-09-24 12:38:34 -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
18deed2e57 Many tweaks to dialogs, moving them to flex and adding better value handling. 2013-09-24 07:57:22 -07:00
Thomas Wilburn
88c1f1b081 Fix tab raise bug introduced with file manager. 2013-09-21 12:21: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
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