Nathan Sobo
96b0cde85a
Merge branch 'dev' into web-workers
2013-01-27 18:53:59 -07:00
Kevin Sawicki & Nathan Sobo
f6fe2bdc97
Don't normalize line endings from Buffer.setText
...
BufferChangeOperation now takes an options hash that
can specify whether line endings should be normalized.
This option is set to false when Buffer.setText is called.
This replaces the previous assignment of lineEndings to []
with a more explicit mechanism.
2013-01-27 16:01:22 -08:00
Kevin Sawicki & Nathan Sobo
98614592af
Store line endings on a per-line basis in Buffer
...
The line ending for each line is recorded and reused
when lines are modified or inserted.
Closes #166
2013-01-27 16:01:22 -08:00
Kevin Sawicki
ecc50506c7
Render trailing carriage return as an invisible
2013-01-27 16:01:22 -08:00
Nathan Sobo
162e3494b2
Tolerate undefined rootView global when loading a package
...
This eliminates warnings when we activate packages in specs without
setting up the `rootView`.
2013-01-27 13:09:27 -07:00
Kevin Sawicki
cb4f392fa6
Set tab index on root-view to 0
...
Previously if the tree-view was open and was focused and no
editors were open and tab was pressed the document body would
become focused which would not allow events bound to root view
to be triggerable.
This ensures that the root-view always gets focus back when
another view is tabbed away from.
2013-01-27 10:49:17 -08:00
Nathan Sobo
f3ab64edbc
Merge pull request #178 from github/ctrl-tab
...
Add ctrl-tab shortcut to switch panes
2013-01-27 10:23:23 -08:00
Chris Wanstrath
186f461dd7
Add ctrl-tab shortcut to switch tabs
2013-01-26 11:42:22 -08:00
Kevin Sawicki
1b76b05e4d
Bind ctrl-C to copy path to clipboard
...
Refs #173
2013-01-25 17:52:05 -08:00
Kevin Sawicki
22aeda6f1c
Add move-to-top/bottom support to select list
2013-01-25 17:31:45 -08:00
Kevin Sawicki
54eabce9ab
Switch grammar toggle to meta-L
...
meta-l should be reserved for jump to line
2013-01-25 10:30:38 -08:00
Kevin Sawicki
fb4623d5d3
Don't populate list until elements have been set
...
Closes #174
2013-01-25 10:28:07 -08:00
Kevin Sawicki
4a89f4580b
Make Gists a deferred package
2013-01-25 10:08:00 -08:00
Kevin Sawicki
5d10d6fb44
Load grammars from web worker
2013-01-24 17:22:51 -08:00
Corey Johnson & Nathan Sobo
d4b5c8beac
Don't make OnigScanner and OnigRegExp be window globals
2013-01-24 17:22:49 -08:00
Corey Johnson & Nathan Sobo
e5c96c7077
Convert OnigScanner to a context binding
2013-01-24 17:22:49 -08:00
Nathan Sobo
2946ba7b9a
Convert OnigRegExp from a v8 extension to a window binding
2013-01-24 17:22:49 -08:00
Corey Johnson & Nathan Sobo
74d7d48dcc
Don't make GitRepository a window global
2013-01-24 17:22:49 -08:00
Corey Johnson & Nathan Sobo
1e6e6c4411
Convert git v8 extension to a context binding
2013-01-24 17:22:49 -08:00
Corey Johnson & Nathan Sobo
789c0a3715
Merge branch 'focus-editor-when-selecting-tab' into dev
2013-01-24 09:55:10 -08:00
Kevin Sawicki
3bd826fcb2
Inline selected text wrapped in brackets
2013-01-23 16:49:34 -08:00
Kevin Sawicki
7425f58f26
Only change end position if selection is mult-line
2013-01-23 16:46:43 -08:00
Kevin Sawicki
6324a60d72
Wrap selection in brackets
...
Enclose the selection in brackets when an opening
bracket is typed and the selection is non-empty
Closes #41
2013-01-23 16:24:40 -08:00
Kevin Sawicki
17f12c42d3
Delete end pair when begin pair is backspaced
2013-01-23 16:24:40 -08:00
Kevin Sawicki
bdf60997ea
💄
2013-01-23 16:24:40 -08:00
Kevin Sawicki
c80298e624
Remove unused requires
2013-01-23 11:09:56 -08:00
Kevin Sawicki
79ae6a4895
Clear mini editor base select list cancelled()
...
Clearing the mini editor when closing is something
all sub-classes were already doing so it makes sense
to pull it up to the base class as the default
cancelled() implementation that can still be overridden
if needed.
2013-01-23 09:40:05 -08:00
Kevin Sawicki
001bb3a862
Restore focus after select list detaches
...
Previously if the select list was cancelled with no open
editors the mini editor would be given focus before being
detached causing nothing to have focus after detach completed.
Now the select list tracks the previously focused elements and
restores focus to that element at the end of the cancel.
2013-01-23 09:32:49 -08:00
Kevin Sawicki
a9c1b58ba5
Defer tree view load when possible
2013-01-22 18:26:48 -08:00
Kevin Sawicki
a966f1d7c7
Rename attach to load
2013-01-22 18:26:48 -08:00
Kevin Sawicki
513a29d70e
Add deferred package type
...
This package defers loading until specific commands are
triggered on the root view.
2013-01-22 18:26:48 -08:00
Kevin Sawicki
ca596db310
Extend AtomPackage directly in packages index.coffee
2013-01-22 18:26:48 -08:00
Kevin Sawicki
7c7ca4a6c3
Don't auto outdent if already fully outdented
2013-01-22 17:39:03 -08:00
Kevin Sawicki
59f7b6650c
Don't auto outdent if preceding row is null
2013-01-22 17:38:23 -08:00
Kevin Sawicki
a77623c118
Always subscribe to created file
2013-01-22 14:52:08 -08:00
Kevin Sawicki
39fd4f7059
Remove extra subscribeToFile() call
...
This was causing an event listener to leak
on each call to save()
Closes #152
2013-01-22 14:44:34 -08:00
Jon Rohan
e1e764418b
making the packageDirPaths order back to the way it was
2013-01-22 13:17:06 -08:00
Jon Rohan
8bb8fe814a
Merge branch 'dev' into css-theme-refactor
2013-01-22 12:48:41 -08:00
Jon Rohan
379824f6b0
adding vendor/themes and themes to themeDirPaths
2013-01-22 12:41:59 -08:00
Jon Rohan
9be6d67c7e
removing second lookup in requireStylesheet
2013-01-22 12:40:31 -08:00
Jon Rohan
0e84361397
updating textmate theme builder with line select color
2013-01-21 19:18:35 -08:00
Jon Rohan
5b241c1e1c
In requireStylesheet, check loadedThemes for the required stylesheet
...
I've made requireStylesheet also check the loadedThemes for the
requiredStylesheet.
In the event that we have 2 stylesheets with the same name `editor.css`
and `editor.css` I want the `static/` directory stylesheet to be above
the userTheme stylesheet, so that proper cascading occurs. This commit
also adding class names to the styles.
2013-01-21 16:55:21 -08:00
Kevin Sawicki
ba7449411e
Throw error if grammar cannot be resolved for path
2013-01-21 16:48:13 -08:00
Kevin Sawicki
2c4a57c293
Guard against possibly null repo
2013-01-21 16:22:34 -08:00
Corey Johnson
32e281bcc6
Add getWordUnderCursor to Editor and EditSession
2013-01-21 15:19:01 -08:00
Corey Johnson
0a5e0a85f8
Using getCurrentWordBufferRange instead of getCurrentWord
2013-01-21 15:00:17 -08:00
Jon Rohan
e80a54f207
Merge branch 'dev' into css-theme-refactor
2013-01-21 14:59:56 -08:00
Corey Johnson
7df999dc32
Remove options.includeDelimiter
...
It was not being used anywhere
2013-01-21 13:27:59 -08:00
Corey Johnson
7fe6d09cbc
Merge remote-tracking branch 'origin/dev' into fuzzy
2013-01-21 12:42:14 -08:00
Kevin Sawicki
4f069ff12f
Merge pull request #128 from github/dev
...
Merge dev into master
2013-01-19 10:56:22 -08:00