Commit Graph

2498 Commits

Author SHA1 Message Date
Kevin Sawicki
5cd3c04702 Load fuzzy finder paths in web worker at startup
Previously the paths were first loaded when the fuzzy finder
view was first attached.

Now a web worker is started when the package activates that
sets the paths on the fuzzy finder view the first time it
displays if the worker has completed by the time an event occurs
that displays the view.
2013-02-02 12:47:46 -08:00
Jon Rohan
0d2a328dcc making the editor .focused .is-focused for symmetry 2013-02-01 19:23:52 -05:00
Jon Rohan
e54c3d8fbb adding is-focused to body, and styling light ui 2013-02-01 18:40:53 -05:00
Jon Rohan
2788ee2715 rename to 2013-02-01 12:59:57 -05:00
Jon Rohan
44cd412bd8 Merge branch 'dev' into github-code-theme 2013-02-01 11:10:45 -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
Jon Rohan
f40f4ead3a renaming scheme again 2013-01-31 21:34:00 -05:00
Nathan Sobo
1bbb954239 EditSession specs passing after converting Selection to use markers
Still a bit of a mess though...
2013-01-31 18:26:29 -07:00
Jon Rohan
194675b8c3 Renaming themes to lowercase-dashes. 2013-01-31 19:48:32 -05:00
Jon Rohan
c2af8712d1 Creating GitHub_Dark and GitHub_Light. 2013-01-31 19:01:44 -05:00
Corey Johnson
587111074d Don't complain if restoring an unnamed buffer 2013-01-31 15:16:03 -08:00
Corey Johnson
30c7e8e2a5 require 'Task' uses correct case 2013-01-31 15:16:03 -08:00
Nathan Sobo
628701fd3a Finish converting cursors to use markers.
The model layer works at least… haven't tested the view. Will test out
the view once I get the selection model working.
2013-01-31 15:52:28 -07: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
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
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
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
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
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
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
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
Nathan Sobo
113a8fa279 Merge remote-tracking branch 'origin/dev' into better-anchors
Conflicts:
	src/app/cursor.coffee
	src/app/editor.coffee
2013-01-30 12:59:04 -07: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
Nathan Sobo
30909a8e8f Move anchor points to buffer; restore invalidated points on undo 2013-01-30 12:23:42 -07: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