Commit Graph

14093 Commits

Author SHA1 Message Date
Justin Palmer
6935e33b72 Merge pull request #204 from github/command-panel-esc
support escape key to exit command panel
2013-01-31 10:39:24 -08:00
Justin Palmer
cfd66b36df Merge pull request #216 from github/user-prefs
Load settings from user.coffee and user.css
2013-01-31 10:36:23 -08:00
Corey Johnson & Kevin Sawicki
8f030cd97e Always calculate dimensions with editor on DOM
Closes #206
2013-01-31 10:31:13 -08:00
Justin Palmer
2982c5e51a need -r when copying packages directory 2013-01-31 10:22:36 -08:00
Justin Palmer
30103b66fc move old atom.coffee to user.coffee on rake install if it exists 2013-01-31 10:18:25 -08:00
Kevin Sawicki
72bef679d9 Merge branch 'dev' into user-prefs 2013-01-31 09:42:23 -08:00
Kevin Sawicki
e5bd097592 Use configDirPath exposed by global config object 2013-01-31 09:41:40 -08:00
Kevin Sawicki
ef6e525674 Use package instead of package's view in specs
Event logs are now stored on the package and passed
to the view when toggled.
2013-01-31 09:33:06 -08:00
Kevin Sawicki
4f8181969e 💄 2013-01-31 09:24:59 -08:00
Jon Rohan
b401cc4674 Merge pull request #213 from github/line-height
Adding a line-height to the editor.
2013-01-31 08:29:46 -08:00
Jon Rohan
ccb95dbefc Merge pull request #215 from github/no-family
Not adding a font family when the user doesn't have it set
2013-01-31 08:29:27 -08:00
Justin Palmer
20f2cf9a0a Merge branch 'dev' into user-prefs 2013-01-31 08:25:43 -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
Nathan Sobo
2df0b9fa19 WIP: Start converting cursor and selection to be based on markers 2013-01-30 22:47:29 -07:00
Nathan Sobo
074c1815d0 Start adding marker methods to DisplayBuffer
Whereas marker methods on buffer take for granted that everything is
in buffer coordinates, methods on the DisplayBuffer offer both
screen and buffer coordinate versions of the marker API.
2013-01-30 22:46:52 -07:00
Nathan Sobo
1d1c613f5b Allow buffer marker head and tail positions to be manipulated 2013-01-30 22:16:08 -07:00
Nathan Sobo
5dd142b966 Allow markers to be created in a reverse orientation
This means that the head of the marker precedes its tail in the buffer.
This will be important if we want to build selections on top of markers.
2013-01-30 21:44:57 -07:00
Nathan Sobo
d8ffdcd6bd Allow markers to be created with just a position
When a marker is created with just a position, it only gets a head
position and has no tail position.
2013-01-30 21:37:57 -07:00
Nathan Sobo
0e67f35748 Start on marker interface in DisplayBuffer 2013-01-30 21:04:52 -07:00
Nathan Sobo
fd99c795b9 Merge remote-tracking branch 'origin/dev' into better-anchors 2013-01-30 20:45:31 -07:00
Kevin Sawicki
f126f58921 Revert "Set white-space property to nowrap on editor lines"
This reverts commit 9a2db26393.
2013-01-30 19:18:10 -08:00
Kevin Sawicki
983f1ab18b Bind meta-~ to focus previous window
Closes #212
2013-01-30 18:42:04 -08:00
Jon Rohan
7e030b09e7 Adding a line-height to the editor. 2013-01-30 21:40:26 -05:00
Kevin Sawicki
9a2db26393 Set white-space property to nowrap on editor lines
Allows inline-block elements adding to the line to no
be wrapped when the window is resized.

Closes #211
2013-01-30 17:54:16 -08:00
Nathan Sobo
e02f9cd830 Rename Buffer.createMarker to markRange 2013-01-30 17:41:04 -07: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
Justin Palmer
95d7c89ec5 load styles from ~/.atom/user.css 2013-01-30 16:00:45 -08:00
Nathan Sobo
aeb1e3fd3c Add a script to fix the author w/ git-filter-branch 2013-01-30 16:53:36 -07:00
Nathan Sobo
dfe0cad217 Replace anchor point/range with a single concept: markers
A "marker" is basically like a persistent selection/cursor composite,
having a head and a tail. The "head" is like the cursor in a selection,
and the "tail" is like the part of the selection that doesn't move. My
goal is for markers to be the only construct used to track regions
in the buffer. I want to replace anchors with them.
2013-01-30 16:52:09 -07:00
Justin Palmer
82f1fb4420 load user.coffee from .atom directory 2013-01-30 15:34:38 -08:00
Justin Palmer
389ecc0b4a copy over user.coffee in rake task 2013-01-30 15:34:26 -08:00
Justin Palmer
228c9ff522 update readme to point to user.coffee instead of atom.coffee 2013-01-30 15:33:52 -08:00
Justin Palmer
0233b4a53e add .atom/user.css file 2013-01-30 15:30:18 -08:00
Justin Palmer
79d569d55b rename atom.coffee to user.coffee 2013-01-30 15:30:10 -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
ed824469c1 Add initial CONTRIBUTING.md
Refs #189
2013-01-30 14:25:36 -08:00
Justin Palmer
1fa16c4ae1 refocus preview list after performing operation
Allows esc key to exit the command pallete
2013-01-30 13:56:35 -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
Kevin Sawicki
06f64b5572 Use rotated locate icon for folded line marker 2013-01-30 13:23:59 -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
Nathan Sobo
bcd9d5d2b9 Rename addAnchorPoint to createAnchorPoint 2013-01-30 13:57:39 -07:00
Nathan Sobo
f3029f9ead 💄 2013-01-30 13:24:22 -07:00
Nathan Sobo
063cb71175 Spelling 💄 in spec 2013-01-30 13:24:15 -07:00
Nathan Sobo
6388ec8bd7 Kill call to removed method 2013-01-30 13:24:06 -07:00