Commit Graph

5080 Commits

Author SHA1 Message Date
Nathan Sobo
ec3a1a80cd Restore invalidated anchor points on undo/redo of a change 2013-01-30 12:48:29 -07:00
Nathan Sobo
30909a8e8f Move anchor points to buffer; restore invalidated points on undo 2013-01-30 12:23:42 -07:00
Nathan Sobo
6c7b93872c Add failing specs for undoing changes that surround anchor points 2013-01-29 18:29:42 -07:00
Nathan Sobo
0ecfba3262 WIP: Start adding new anchorPoint API on edit session
These will replace anchors, but they won't be stored on the Buffer
at all. The API user will access them by a returned scalar id rather
than calling methods on the returned anchor object directly.
2013-01-29 18:21:56 -07:00
Nathan Sobo
3f50dbe1f8 💄 2013-01-29 16:00:45 -07:00
Nathan Sobo
2380fa3445 Handle 'autoscroll' entirely in Cursor instead of in Anchor
This commit makes autoscroll a 3-valued property on the cursor. If it
is set to true or false, that setting will stick until the cursor's
next visual update. That means we can explicitly move the cursor with
autoscroll set to false, but also still autoscroll by default when the
cursor's anchor moves on its own.
2013-01-29 12:11:43 -07:00
Justin Palmer
bb71017853 Merge pull request #196 from github/input-styles
Mini editor styles
2013-01-29 11:10:41 -08:00
Justin Palmer
72fd744330 style key binding to match atom dark 2013-01-29 11:05:35 -08:00
Justin Palmer
52c6243310 dark cursor styles for mini editor 2013-01-29 11:00:46 -08:00
Justin Palmer
10d7b3ab9f cursor styles for mini editor 2013-01-29 11:00:06 -08:00
Justin Palmer
b2ccc38a04 2 shades of grey 2013-01-29 10:48:13 -08:00
Justin Palmer
72fde3b521 bump mini editor line height a little more so it's consistent with other row height 2013-01-29 10:46:04 -08:00
Justin Palmer
42e7a711ff tweak light select list styles so mini editor looks good 2013-01-29 10:45:38 -08:00
Justin Palmer
4c8972e2e1 tweak select list colors so global mini editor styles hold up 2013-01-29 10:30:07 -08:00
Kevin Sawicki
9b4d570989 Require config when task shell starts
Config adds to the require paths so it needs to be required
before the handler starts so that web worker handlers have the
same require semantics as the main window.
2013-01-29 10:28:58 -08:00
Kevin Sawicki
b675e5b4ba Default fileTypes to empty array when undefined
This is the case for certain grammars in the Java
TextMate bundle.
2013-01-29 10:27:25 -08:00
Kevin Sawicki
2001cc330f Remove unused requires 2013-01-29 10:22:57 -08:00
Justin Palmer
707f6b5dfd fix position of prompt icon 2013-01-29 10:10:34 -08:00
Justin Palmer
783efa0969 atom light mini editor styles 2013-01-29 10:10:22 -08:00
Justin Palmer
fca5c54a03 give some visual depth to the mini editor
live in harmony with the current look and feel
2013-01-29 10:02:12 -08:00
Justin Palmer
bc0546f053 Merge branch 'dev' of https://github.com/github/atom into dev 2013-01-29 09:16:34 -08:00
Kevin Sawicki
df83edde64 Only close preview when editor gains focus
Closes #193
2013-01-28 18:56:58 -08:00
Corey Johnson & Nathan Sobo
262703618d Eat interpolated variables in TextMate snippets
Someday we'll actually shell out to fill in their values, but for now,
we just replace them with an empty string.
2013-01-28 17:55:51 -07:00
Kevin Sawicki
154d2306ce Specify resource path when running test task
Now that the release build is generated from rake
install the RESOURCE_PATH is no longer defined so
explicitly set it via an argument to the launched
application.
2013-01-28 16:49:41 -08:00
Kevin Sawicki
4fe021bb61 Memoize built packages
Packages that successfully built are now stored internally
so they can be quickly accessed on future calls instead of
returning an array of newly built packages on each call.
2013-01-28 15:47:17 -08:00
Corey Johnson & Nathan Sobo
fa8ca1193f Correctly place tab stop anchor ranges in snippets with blank lines 2013-01-28 16:36:16 -07:00
Corey Johnson & Nathan Sobo
47ca7f81c1 💄 2013-01-28 16:36:16 -07:00
Corey Johnson & Nathan Sobo
c13b45df99 Hard tabs in snippets are translated to soft-tabs if necessary 2013-01-28 16:36:15 -07:00
Kevin Sawicki
7e494caaff Remove unused require 2013-01-28 15:25:35 -08:00
Kevin Sawicki
c2319a30e6 💄 2013-01-28 15:25:08 -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
Corey Johnson & Nathan Sobo
504811316e Make Type atom to start Atom! In Atom press cmd-, to edit your .atom directory compile atom in Release mode 2013-01-28 15:01:06 -07:00
Corey Johnson & Nathan Sobo
fa3df3359a Upgrade CEF to branch 1364, revision 1065 to fix a bug in v8 2013-01-28 14:58:21 -07:00
Corey Johnson & Nathan Sobo
1190644e76 Make update-cef script tolerate multiple cef binaries in chromium/src/cef 2013-01-28 14:52:45 -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
6218b58fd4 Use valid configuration option syntax 2013-01-28 13:02:27 -08:00
Kevin Sawicki
a8a1d09dac Output updated paths after changing id 2013-01-28 09:39:50 -08:00
Kevin Sawicki
f29c4100e2 Use Release build of libgit2 at 11fccddcb5 2013-01-28 09:38:43 -08:00
Kevin Sawicki
fbfdd6ab65 Doc libgit2 build and verification steps in update script 2013-01-28 09:38:01 -08:00
Kevin Sawicki
bd3493987b 💄 2013-01-27 22:44:07 -08:00
Kevin Sawicki
ee5d70b65d Terminate worker when all packages have been loaded 2013-01-27 22:38:11 -08:00
Kevin Sawicki
75da205b0a Terminate worker when all snippets have been loaded 2013-01-27 22:26:45 -08:00
Kevin Sawicki
a89e1fae11 Use interpolated string when evaluating 2013-01-27 20:12:36 -08:00
Kevin Sawicki
90054d8553 Pop from split array to get last index 2013-01-27 20:09:23 -08:00
Kevin Sawicki
15a06cbdb3 DRY up how cache file path is generated 2013-01-27 18:11:07 -08:00
Nathan Sobo
96b0cde85a Merge branch 'dev' into web-workers 2013-01-27 18:53:59 -07:00
Kevin Sawicki & Nathan Sobo
aeb2ddac50 HACK: attempt 2nd CoffeeScript.compile when evaluating fails
Temporary workaround for CEF/CoffeeScript timing issue where
compiler generates invalid JavaScript.
2013-01-27 18:33:09 -07:00