Justin Palmer
7a2a02dacf
Merge pull request #227 from github/cut-dat-fat
...
Reusable styles for common UI elements
2013-02-04 15:39:22 -08:00
Kevin Sawicki
bef965d863
Add line number padding to expected width
2013-02-04 15:35:40 -08:00
Kevin Sawicki
bd88a0de15
Support CSON config file
...
Use ~/.atom/config.cson as the new default when no
config file exists.
~/.atom/config.json is still the default if they both
exist.
2013-02-04 12:38:00 -08:00
Kevin Sawicki
cd07ec841d
Add more window globals and shims in task shell
...
This allows jQuery to be successfully loaded from a web worker
since it does not have a document or window object by default.
Previously it would log about missing methods and properties.
Closes #228
2013-02-04 11:43:58 -08:00
Kevin Sawicki
84feaf369d
Format undefined array values as null
2013-02-04 09:08:00 -08:00
Kevin Sawicki
f65e83fe2a
Add spec for converting CSON back to object
2013-02-04 09:08:00 -08:00
Kevin Sawicki
ffc65b3735
Add more CSON specs
2013-02-04 09:08:00 -08:00
Jon Rohan
3cf07d29f3
Changing the if-focused event binding to blur.
2013-02-03 09:01:27 -08:00
Nathan Sobo
94f1630152
Bind window focus
and focusout
events separately to fix spec
2013-02-02 17:02:07 -07:00
Nathan Sobo
7867d0cb3b
Fix spec for 'focused' to 'is-focused' class rename.
2013-02-02 16:55:51 -07:00
Jon Rohan
fa940d0386
Merge pull request #168 from github/window-focused
...
Atom Window Focused
2013-02-01 17:50:28 -08:00
Jon Rohan
0d2a328dcc
making the editor .focused .is-focused for symmetry
2013-02-01 19:23:52 -05:00
Kevin Sawicki
69097bee50
Kill trailing newline and inline empty arrays
2013-02-01 16:20:25 -08:00
Kevin Sawicki
83b6a93684
Add initial CSON pretty printer
2013-02-01 16:15:54 -08:00
Jon Rohan
e54c3d8fbb
adding is-focused to body, and styling light ui
2013-02-01 18:40:53 -05:00
Jon Rohan
f62e49d2f4
Adding back the font-weight font-style to tmThemes
...
We can add this back now because in the default tests we're using a true
monospaced font, not the fake monospace font Inconsolata.
2013-02-01 11:09:12 -05:00
Corey Johnson
8e0b6aec40
Longer spec timeout
2013-01-31 15:46:54 -08:00
Corey Johnson
5d95d8bc4e
Remove log noise while running tests
2013-01-31 15:16:03 -08:00
Kevin Sawicki
379a4a4d8d
Only auto-load .cson and .json keymap files
...
This now prevents files such as .DS_Store from being loaded as a
keymap where previously all paths were loaded regardless of extension.
Closes #205
2013-01-31 12:03:21 -08:00
Corey Johnson & Kevin Sawicki
8f030cd97e
Always calculate dimensions with editor on DOM
...
Closes #206
2013-01-31 10:31:13 -08:00
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
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
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
e7c3282f53
Add font-family spec
2013-01-30 10:15:34 -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
97fa9d522a
end/beginning word implementations are now more similar
2013-01-30 08:39:32 -08:00
Corey Johnson
46aefc75ab
Make EditSession specs match vim style word behavior
2013-01-29 16:57:23 -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
Kevin Sawicki
1303e58a87
Don't move trailing newline for multiline selections
2013-01-29 16:51:33 -08:00
Kevin Sawicki
1a04fa31d1
Clip range specified to Buffer.getTextInRange()
2013-01-29 15:35:14 -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
ad7e4b63c0
Bind ctrl-meta-up to move line(s) up
...
Refs #134
2013-01-29 14:58:51 -08:00
Kevin Sawicki
e792265076
Trigger grammars-loaded event on syntax
2013-01-28 14:34:49 -08:00
Kevin Sawicki
ad8dd767e5
Don't allow web worker grammars to be registered
...
Grammars are already loaded at the beginning of the
specs synchronously and should not be overridden
when testing the background load task.
2013-01-28 14:23:18 -08:00
Corey Johnson & Nathan Sobo
493ed5f006
Merge branch 'web-workers' into dev
2013-01-28 15:02:57 -07:00
Kevin Sawicki
d84c600679
Don't add CR invisible if line is soft wrapped
2013-01-28 13:33:46 -08:00
Kevin Sawicki
fa5ceedfe0
Don't add EOL invisible if line is soft wrapped
2013-01-28 13:22:32 -08:00
Kevin Sawicki
ee5d70b65d
Terminate worker when all packages have been loaded
2013-01-27 22:38:11 -08:00
Nathan Sobo
96b0cde85a
Merge branch 'dev' into web-workers
2013-01-27 18:53:59 -07: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
c16acc6b2c
Disable 'package-that-throws-an-exception' except in spec that uses it
...
Loading this package logs a warning, so to minimize noise in the spec
console, it should only be loaded when `console.warn` is mocked.
2013-01-27 13:11:42 -07:00
Nathan Sobo
0be4ad547a
Disable 'package-that-throws-an-exception' except in spec that uses it
...
Loading this package logs a warning, so to minimize noise in the spec
console, it should only be loaded when `console.warn` is mocked.
2013-01-27 12:12:39 -07:00
Kevin Sawicki
1b76b05e4d
Bind ctrl-C to copy path to clipboard
...
Refs #173
2013-01-25 17:52:05 -08:00