Commit Graph

24013 Commits

Author SHA1 Message Date
Kevin Sawicki
7f86bf1351 Remove unneeded remove call 2013-01-31 14:19:20 -08:00
Kevin Sawicki
6b3a953384 Close command logger when it loses focus 2013-01-31 14:16:58 -08:00
Kevin Sawicki
4433f443d4 Simplify stats keymap 2013-01-31 14:06:46 -08:00
Kevin Sawicki
20249b4d38 un-f editor stats spec again 2013-01-31 14:06:16 -08:00
Kevin Sawicki
517d4cfe3a Remove unused requires 2013-01-31 13:50:47 -08:00
Kevin Sawicki
30e8eee9ce Move d3 require to top 2013-01-31 13:49:14 -08:00
Kevin Sawicki
9f3f0fe397 Don't focus stats when attaching
Leave the editor with focus since the stats aren't interactive
2013-01-31 13:46:38 -08:00
Kevin Sawicki
2b61883d9b un-f editor stats spec 2013-01-31 13:37:30 -08:00
Kevin Sawicki
08cac2bbe0 💄 2013-01-31 13:37:08 -08:00
Kevin Sawicki
9a73665811 Add ellipsis at end of folded line 2013-01-31 13:21:06 -08:00
Nathan Sobo
ec521b3fd3 Add ability to cancel marker head position observations 2013-01-31 14:11:28 -07:00
Nathan Sobo
bc44540b10 Start adding ability to observe marker head positions 2013-01-31 14:00:01 -07:00
Justin Palmer
6be772d617 add themes directory to .atom template 2013-01-31 12:58:52 -08:00
Justin Palmer
a57ac08238 make the default font size 12px 2013-01-31 12:58:38 -08:00
Justin Palmer
4cd2200121 create a default config.json file with sane defaults 2013-01-31 12:52:02 -08:00
Justin Palmer
793bb44bb2 copy over the .atom template directory instead of individual files 2013-01-31 12:51:36 -08:00
Justin Palmer
a0f06e09d6 fix command panel specs that I broke
We're now refocusing the preview list instead of the editor
2013-01-31 12:09:40 -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
e24859cc23 💄 2013-01-31 11:03:20 -08:00
Corey Johnson & Kevin Sawicki
6bddebede3 Show folding icon in gutter instead of end of line
Closes #211
2013-01-31 11:02:01 -08:00
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