Commit Graph

368 Commits

Author SHA1 Message Date
Antonio Scandurra
18ddcf902b Statically assign a clipboard instance to the TextEditor class 2016-10-07 18:21:09 +02:00
Indrek Ardel
55f3311c01 Remove unused variables 2016-09-26 20:52:13 +03:00
Lukas Geiger
498a56a603 Tildify path in title bar
This will use ~/ for the path to the home directory
2016-09-22 11:14:03 +02:00
Antonio Scandurra
1f4cd6e00d Merge branch 'master' into ns-fix-editor-auto-height
# Conflicts:
#	src/text-editor.coffee
2016-08-19 13:27:26 +02:00
Nathan Sobo
dd82902bf2 Disable autoHeight on text editor pane items 2016-08-18 14:03:44 -06:00
Nathaniel Ringo
b32b8b40fe Adds configuration option for large file warning threshold. 2016-08-16 16:43:16 -05:00
Max Brunsfeld
09d232ba41 Introduce TextEditorRegistry::build
This way, we can construct text editors with the right parameters from the start
2016-08-12 12:21:51 -07:00
Max Brunsfeld
f7baed515b Maintain grammar before maintaining config 2016-08-11 17:59:27 -07:00
Max Brunsfeld
ea50d4fe8c 🚱 Fix leak in Workspace::buildTextEditor 2016-08-10 13:57:04 -07:00
Max Brunsfeld
6d4e0f9b0a 🚱 Stop maintaining destroyed editors' grammar and config 2016-08-10 13:54:37 -07:00
Max Brunsfeld
16a22b9f28 Merge branch 'master' into ns-mb-detangle-editor 2016-08-09 13:36:46 -07:00
Max Brunsfeld
52af31c511 Trigger grammar-used hooks no matter how text editors are created 2016-08-09 12:04:01 -07:00
Max Brunsfeld
c66435fa6d Remove duplicate subscription to added pane items in Workspace 2016-08-08 13:45:27 -07:00
Max Brunsfeld
ee2e18737e Fix maintenance of grammars for copied editors 2016-08-08 11:17:30 -07:00
Max Brunsfeld
0a924a9e2f Hook TextEditorRegistry to editors created by splitting panes 2016-08-03 10:58:11 -07:00
Max Brunsfeld
3d796df401 Stop using GrammarRegistry in TextEditor 2016-07-27 14:09:17 -07:00
Max Brunsfeld
20b54505f3 Move logic for assigning grammars to editors into TextEditorRegistry 2016-07-26 10:50:57 -07:00
Max Brunsfeld
4ad801b216 Merge branch 'master' into ns-mb-detangle-editor 2016-07-15 09:39:32 -07:00
Max Brunsfeld
678d5b4c24 Remove usage of repository.async in Workspace
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-07-13 15:41:10 -07:00
Max Brunsfeld
6fe4ce56c7 Call maintainConfig in buildTextEditor 2016-07-12 14:16:55 -07:00
Jonah
7b16e40fa8 📝 better docs for workspace.addOpener 2016-06-28 17:52:53 -07:00
Jonah Stiennon
03257b17e2 📝 Mention how models must implement getTitle() [ci skip] 2016-06-22 15:38:51 -07:00
Leonard Lamprecht
3a1ad3fd40 Replace OS X and Mac OS with macOS 2016-06-18 15:33:08 +02:00
Mihail Bodrov
d602655708 replace _.extend in favore of Object.assign 2016-05-20 01:27:27 +03:00
Damien Guard
c56cbe3ce3 👕 Change fat arrow to thin arrow for linter warning 2016-05-03 16:50:06 -07:00
joshaber
c3bfba0e53 We don't need to pass in an app delegate here anymore. 2016-04-26 16:15:30 -04:00
joshaber
5fd556ac58 We need Directory now. 2016-04-26 14:55:37 -04:00
joshaber
b6e7ef60d5 Merge branch 'remove-view-registry-dependency' into remove-project-dependency 2016-04-26 12:55:45 -04:00
joshaber
ee88b4b2c1 Merge branch 'master' into remove-view-registry-dependency 2016-04-26 12:44:01 -04:00
joshaber
40d7761350 Bail if we don't have a grammar yet. 2016-04-26 11:48:52 -04:00
joshaber
f70b93d9c2 Merge branch 'remove-packagemanager-dependency' into remove-project-dependency 2016-04-26 11:01:28 -04:00
joshaber
5d7c2fc8ba Just observe the grammar. 2016-04-26 10:32:41 -04:00
joshaber
7ed4d60967 Don't need to pass Project around anymore. 2016-04-25 17:03:26 -04:00
joshaber
5cf532ebe8 Move checkoutHeadRevision to Workspace. 2016-04-25 17:02:36 -04:00
joshaber
856697e55f Uh we seriously don't need package manager.
Not sure how that slipped back in there.
2016-04-25 16:31:28 -04:00
joshaber
8d7f1b8fba Don't need to pass view registry through anymore. 2016-04-25 16:26:28 -04:00
joshaber
1c6d9728c4 Don't need to pass packageManager in anymore. 2016-04-25 16:25:36 -04:00
joshaber
cf1b4e2217 Another new name. 2016-04-25 15:34:44 -04:00
joshaber
2266f1e3b6 Revert "Just use the already existing change grammar event."
This reverts commit 9014634b3a.
2016-04-25 15:15:31 -04:00
joshaber
9014634b3a Just use the already existing change grammar event. 2016-04-25 15:09:03 -04:00
joshaber
02bbb14052 Better method name 2016-04-25 15:02:16 -04:00
joshaber
b1301a5f74 Trigger the activation hook outside the text editor. 2016-04-25 14:50:34 -04:00
joshaber
48e49061e6 Don't need to pass in the notification manager anymore. 2016-04-25 14:12:20 -04:00
Nathan Sobo
2ad2f161fa Merge pull request #11078 from wvanlint/opt_in_registration
Add TextEditors to the registry only when opting in
2016-03-11 15:37:07 -07:00
Willem Van Lint
466e554ee1 Add TextEditors to the registry on opt-in only 2016-03-10 22:51:51 -08:00
Michelle Tilley
f6d419c2f4 Merge pull request #11057 from atom/mkt-improve-pane-add-item-options
Move Pane::addItem 'pending' option to options object
(cherry picked from commit 53a9c22554)
2016-03-07 10:02:49 -08:00
joshaber
367f6db7a4 Merge branch 'master' into atom-textarea 2016-02-29 23:02:52 -05:00
Willem Van Lint
26cf7f081f Registry for editors 2016-02-29 17:30:04 -05:00
joshaber
707bdf3f39 Merge branch 'master' into atom-textarea 2016-02-29 16:41:01 -05:00
Katrina Uychaco
3848da4488 💄 and 📝 for pending API 2016-02-25 17:21:01 -08:00