Commit Graph

4374 Commits

Author SHA1 Message Date
Kevin Sawicki
905002cd58 Highlight foreground of selected line numbers
Previously no gutter highlight was displayed unless
the selection was empty.

Now there is a separate CSS class for no selection
that changes the background color independently
from the foreground color.
2012-12-22 22:06:46 -08:00
Kevin Sawicki
559b9132f9 Parse until position equals line length including trailing newline 2012-12-21 13:22:13 -08:00
Kevin Sawicki
0938811612 Clear anchor positions in stack after line is tokenized 2012-12-21 13:22:13 -08:00
Kevin Sawicki
8aba95191d Append anchor characters when placeholder is not added 2012-12-21 13:22:13 -08:00
Kevin Sawicki
4c1ecf61df Anchor second capture index 2012-12-21 13:22:13 -08:00
Kevin Sawicki
9f6d1f987f Add initial support for replacing anchors 2012-12-21 13:22:08 -08:00
Nathan Sobo
880edcd408 Increase waitsFor timeout in attempt to address intermittent failure 2012-12-20 22:17:08 -07:00
Kevin Sawicki
7efaf084a0 Use editor settings for creating comparison string showing invisibles 2012-12-20 15:42:38 -08:00
Kevin Sawicki
3cd8a3304e Use values directly from editor in invisibles spec 2012-12-20 15:10:21 -08:00
Kevin Sawicki
628d22de0a Use tab invisible that is available in Inconsolata
Previously a non-Inconsolata character
was being used which caused alignment issues
with selections and the cursor

Also switch values in editor.coffee to use codes
so they can be viewed in any font.
2012-12-20 14:50:51 -08:00
Kevin Sawicki
39f5ce6087 Activate running Atom when invoked with no path 2012-12-20 13:11:01 -08:00
Corey Johnson
808559b25f default-config is no longer used 2012-12-20 10:02:09 -08:00
Kevin Sawicki
275f6f2df5 💄 2012-12-19 17:25:20 -08:00
Kevin Sawicki
cdac5e0763 Read output for terminate handler off main thread
Follow on to commit 1bd0cc4152
2012-12-19 17:25:19 -08:00
Nathan Sobo
d3f96021b3 s/Extension/Package. Add more package docs. Mark what's not done yet. 2012-12-19 18:24:16 -07:00
Corey Johnson
bd3dfba1e5 Atom will work as your $EDITOR.
Set EDITOR='atom --wait'
2012-12-19 17:15:17 -08:00
Corey Johnson
1c516937e9 Update default atom.coffee file. Remove default-config.coffee 2012-12-19 17:10:34 -08:00
Nathan Sobo
abcb8fd1d0 Nix docs for calling unobserveConfig w/ a key path until we need it 2012-12-19 17:32:04 -07:00
Nathan Sobo
7768944f2c 💄 2012-12-19 17:32:04 -07:00
Nathan Sobo
8d63805072 Pull out ConfigObserver & Subscriber mixins; Add unobserveConfig 2012-12-19 17:32:04 -07:00
Nathan Sobo
95cb8b6169 Add config.setDefaults to docs and other 💄 2012-12-19 17:32:04 -07:00
Kevin Sawicki
c40ad87a1e Remove replacing spaces with %20 when encoding URL params
This appears to be handled by stringByAddingPercentEscapesUsingEncoding
and so explicitly doing it causes a space to be encoded to %2520 instead
of %20
2012-12-19 15:37:41 -08:00
Kevin Sawicki
5c2b7b400d Decode param name and value
These can contain percent encodings that
will need to be decoded before used.
2012-12-19 15:37:41 -08:00
Kevin Sawicki
75b9e7cbb1 Replace & with %26 when encoding URL params
This is not handled by stringByAddingPercentEscapesUsingEncoding
2012-12-19 15:37:34 -08:00
Kevin Sawicki
b83a4ef5c0 Grammar tweaks 2012-12-19 13:42:15 -08:00
Kevin Sawicki
5ce59314fc Use cleaner iterator over filenames array 2012-12-19 12:42:42 -08:00
Kevin Sawicki
491ecb145f Remove code handled in standardizePathToOpen 2012-12-19 12:10:55 -08:00
Corey Johnson & Nathan Sobo
1bd0cc4152 ChildProcess can handle commands that return large amounts of data.
When a command returned a large amount of data, it was blocking on the stderr  callback when `[fileHandle availableData]` was called. From what I can tell, this is because stderr was being called with a zero-length string.

This was fixed when `[fileHandle availableData]` was moved to run inside the NSTask thread (instead of on the main thread). It now returns a zero-length string rather than blocking forever.

An unresolved question is why stderr is being called with zero-length strings.
2012-12-19 11:47:50 -08:00
Kevin Sawicki
ea088db19d Open default path from applicationDidFinishLaunching
This is called after openFiles and so the default path
will open be opened if other explicit files were not
opened such as by dropping onto the dock icon
2012-12-19 11:25:43 -08:00
Kevin Sawicki
17976a19b5 Use simpler windows iterator 2012-12-19 11:00:43 -08:00
Kevin Sawicki
d674aa6a39 Open folders and plain text files dropped dock icon
Closes #103
2012-12-19 10:58:30 -08:00
Kevin Sawicki
35f362df1d Bring window to front when opening already opened path
Closes #104
2012-12-19 09:32:06 -08:00
Kevin Sawicki
da841b0ac6 Use consistent quotes in strip-trailing-whitespace 2012-12-19 08:48:21 -08:00
Kevin Sawicki
6d31946d31 Merge single-trailing-newline into strip-trailing-whitepsace
single-trailing-newline functionality is now available as a
config option on the strip-trailing-whitespace package
2012-12-19 08:45:44 -08:00
Kevin Sawicki
b937e0dfbd Remove unused require 2012-12-18 22:19:22 -08:00
Kevin Sawicki
9ab75fd09b Remove duplicate package 2012-12-18 22:16:17 -08:00
Kevin Sawicki
22d4c679f5 Move status-bar to packages folder 2012-12-18 22:09:02 -08:00
Kevin Sawicki
e14d61f799 Move single-trailing-newline extension to packages folder 2012-12-18 21:53:31 -08:00
Kevin Sawicki
1e5515555e Use command() instead of on() for document events
Allows commands such as 'open-user-configuration' to
appear and be invoked from the event palette

This was previously committed as 07a5672 but was merged
over when the config branch was merged into master.
2012-12-18 21:47:40 -08:00
Kevin Sawicki
d2d37e1d91 💄 2012-12-18 19:37:40 -08:00
Nathan Sobo
00b86ffac4 Merge branch 'master' into config
Conflicts:
	src/app/keymap.coffee
	src/extensions/outline-view/src/keymap.coffee
	src/extensions/outline-view/src/tag-reader.coffee
	src/packages/fuzzy-finder/spec/fuzzy-finder-spec.coffee
	src/packages/fuzzy-finder/src/fuzzy-finder.coffee
2012-12-18 20:36:22 -07:00
Nathan Sobo
4896302f7e Run specs for src/packages, not src/extensions 2012-12-18 20:32:24 -07:00
Nathan Sobo
acc0503684 Merge remote-tracking branch 'origin/master' into config
Conflicts:
	src/app/keymap.coffee
	src/extensions/outline-view/src/keymap.coffee
	src/extensions/outline-view/src/tag-reader.coffee
	src/packages/fuzzy-finder/spec/fuzzy-finder-spec.coffee
	src/packages/fuzzy-finder/src/fuzzy-finder.coffee
2012-12-18 20:32:05 -07:00
Nathan Sobo
4ce8583cb2 Rename extensions to packages
We now look at the `core.disabledPackages` config key. Rename the `src/extensions` directory to `src/packages`. The config object now talks about loading packages instead of extensions.
2012-12-18 20:03:21 -07:00
Nathan Sobo
37f0aa3f90 Replace window.requireExtension with atom.loadPackage
The goal is that `loadPackage` will be the go-to place for loading all kinds of resources out of directories. `requireExtension` was only designed to load and activate extension modules.
2012-12-18 19:47:20 -07:00
Kevin Sawicki
3a4eb19827 Add spec for _.endsWith() 2012-12-18 17:59:52 -08:00
Kevin Sawicki
2256962129 Support grammar fileTypes that contains more than extensions
The Git bundle registers fileTypes with multiple path segments
such as '.git/config'
2012-12-18 17:48:24 -08:00
Kevin Sawicki
28d28a5206 Install Git bundle by default 2012-12-18 17:30:51 -08:00
Kevin Sawicki
2c4ba3d3b1 Ignore preferences with no scope 2012-12-18 16:44:20 -08:00
Kevin Sawicki
127174ebd0 Support uncommenting lines with leading whitespace 2012-12-18 15:52:23 -08:00