Commit Graph

3328 Commits

Author SHA1 Message Date
Jon Rohan
11c0637220 Not adding a font family when the user doesn't have it set 2013-01-31 10:19:41 -05:00
Kevin Sawicki
45dfea0559 Start tracking commands when package is activated
When the command logger was moved to a deferred package
the custom trigger to track events wasn't registered
until the instance was created causing most events to go
untracked.

Now the custom trigger is registered in the index.coffee
file and passed to the view instance when toggling.
2013-01-30 16:15:08 -08:00
Corey Johnson
4e7b1888b4 include ' in editor.nonWordCharacters 2013-01-30 16:04:29 -08:00
Kevin Sawicki
45d5e714fa Make snippets keymaps valid CSON
Closes #209
2013-01-30 15:25:03 -08:00
Kevin Sawicki
8b3ade2904 Set path as tab title attribute 2013-01-30 15:08:23 -08:00
Kevin Sawicki
034281a638 💄 2013-01-30 15:06:57 -08:00
Kevin Sawicki
d30532c6aa Show directory in tab when duplicate names are open
Closes #181
2013-01-30 15:05:36 -08:00
Kevin Sawicki
5f343d74b2 Use new EditSession.isFoldedAtBufferRow method when moving lines 2013-01-30 13:54:26 -08:00
Kevin Sawicki
1acf0b870f Support translating points and ranges 2013-01-30 13:49:10 -08:00
Corey Johnson
c650deea01 Merge branch 'font-config' into dev 2013-01-30 13:24:12 -08:00
Corey Johnson
74cec989bb Use getFontSize() 2013-01-30 13:19:09 -08:00
Corey Johnson
9b1cb29e1f Don't store fontSize and fontFamily as instance variables 2013-01-30 12:20:02 -08:00
Corey Johnson
29ccd271de Set font-size css property using style tag 2013-01-30 12:11:17 -08:00
Corey Johnson
9ea29b2899 Set font-family css property using style tag 2013-01-30 12:07:23 -08:00
Kevin Sawicki
f90d29262c Use octicon as folding indicator 2013-01-30 11:50:29 -08:00
Kevin Sawicki
8dbcefa932 Style color of folded line numbers 2013-01-30 11:50:23 -08:00
Corey Johnson
129b574df4 Remove lineHeight config option and rename @rowHeight back to @lineHeight 2013-01-30 09:59:53 -08:00
Justin Palmer
f138a29a87 add config option for line height
This renames the original lineHeight variable to rowHeight to avoid
collision
2013-01-30 09:59:53 -08:00
Justin Palmer
a83460452e add config option for setting the font family 2013-01-30 09:59:53 -08:00
Corey Johnson & Kevin Sawicki
4db876aed1 Deleting before fold no longer unfolds after undo
Use same row delta computation for updating start and
end rows in folds.
2013-01-30 09:10:26 -08:00
Corey Johnson
a2b1f33518 Merge branch 'word-regex-config' into dev 2013-01-30 08:40:04 -08:00
Corey Johnson
97fa9d522a end/beginning word implementations are now more similar 2013-01-30 08:39:32 -08:00
Corey Johnson
f698d7e9dc 💄 2013-01-30 08:20:11 -08:00
Corey Johnson
086c7ef987 multiline regex not needed 2013-01-30 08:15:28 -08:00
Corey Johnson
1a8986aae2 Fix start/end for range 2013-01-30 08:02:19 -08:00
Kevin Sawicki
05314ae215 Call delete() from deleteRows() 2013-01-29 17:16:33 -08:00
Corey Johnson
a34b9296e9 Escape \ in editor.nonWordCharachters 2013-01-29 17:14:10 -08:00
Corey Johnson
c32836ad2c _ and - both considered non word characters. Fixes #82
Maybe @defunkt wanted the reverse though (consider _ and - word characters)? Either way, it's a config option you can change now.
2013-01-29 17:10:27 -08:00
Corey Johnson
c71f58a652 💄 2013-01-29 17:08:07 -08:00
Corey Johnson
167b9c28fa Rename wordSeparators to nonWordCharacters 2013-01-29 17:06:39 -08:00
Corey Johnson
8973a66cfe selection.selectWord will consider whitespace a word 2013-01-29 16:57:22 -08:00
Corey Johnson
dac92ca6e7 Make cursor.moveCursorToBeginningOfWord behave like vim 2013-01-29 16:57:22 -08:00
Corey Johnson
b66efbe3e7 cursor.getBeginningOfCurrentWordBufferPosition behaves like vim 2013-01-29 16:57:22 -08:00
Corey Johnson & Kevin Sawicki
1d2fa089e5 editor.wordRegex is now a config option. 2013-01-29 16:57:22 -08:00
Kevin Sawicki
1303e58a87 Don't move trailing newline for multiline selections 2013-01-29 16:51:33 -08:00
Kevin Sawicki
4bfa5dd7a0 Remove unneeded Range.fromObject call 2013-01-29 15:40:34 -08:00
Kevin Sawicki
1a04fa31d1 Clip range specified to Buffer.getTextInRange() 2013-01-29 15:35:14 -08:00
Kevin Sawicki
367927faa1 Remove unneeded empty selection logic 2013-01-29 15:08:21 -08:00
Kevin Sawicki
096566ab2a Bind ctrl-meta-down to move line(s) down
Refs #134
2013-01-29 14:58:52 -08:00
Kevin Sawicki
348a0a3d9a Return normalized point 2013-01-29 14:58:51 -08:00
Kevin Sawicki
66df860329 💄 2013-01-29 14:58:51 -08:00
Kevin Sawicki
ad7e4b63c0 Bind ctrl-meta-up to move line(s) up
Refs #134
2013-01-29 14:58:51 -08:00
Jon Rohan
298d50b61e changing the space invisible to 00b7 'middot' 2013-01-29 14:38:01 -05:00
Kevin Sawicki
9b4d570989 Require config when task shell starts
Config adds to the require paths so it needs to be required
before the handler starts so that web worker handlers have the
same require semantics as the main window.
2013-01-29 10:28:58 -08:00
Kevin Sawicki
b675e5b4ba Default fileTypes to empty array when undefined
This is the case for certain grammars in the Java
TextMate bundle.
2013-01-29 10:27:25 -08:00
Kevin Sawicki
2001cc330f Remove unused requires 2013-01-29 10:22:57 -08:00
Kevin Sawicki
df83edde64 Only close preview when editor gains focus
Closes #193
2013-01-28 18:56:58 -08:00
Corey Johnson & Nathan Sobo
262703618d Eat interpolated variables in TextMate snippets
Someday we'll actually shell out to fill in their values, but for now,
we just replace them with an empty string.
2013-01-28 17:55:51 -07:00
Kevin Sawicki
4fe021bb61 Memoize built packages
Packages that successfully built are now stored internally
so they can be quickly accessed on future calls instead of
returning an array of newly built packages on each call.
2013-01-28 15:47:17 -08:00
Corey Johnson & Nathan Sobo
fa8ca1193f Correctly place tab stop anchor ranges in snippets with blank lines 2013-01-28 16:36:16 -07:00