Commit Graph

14143 Commits

Author SHA1 Message Date
Kevin Sawicki
de09adc45f 💄 2013-01-31 14:24:02 -08:00
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
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
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
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
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
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
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
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
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
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
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
6388ec8bd7 Kill call to removed method 2013-01-30 13:24:06 -07:00
Corey Johnson
9b1cb29e1f Don't store fontSize and fontFamily as instance variables 2013-01-30 12:20:02 -08:00
Justin Palmer
c5b9c38311 specs for editor stats 2013-01-30 12:15:25 -08:00