Corey Johnson & Kevin Sawicki
fc52ee518e
Wait for window:loaded before emitting window:open-path
2013-06-11 14:48:51 -07:00
Corey Johnson & Kevin Sawicki
dc53f387a6
Remove project serialization
2013-06-11 14:39:32 -07:00
Corey Johnson & Kevin Sawicki
1ce861c000
Don't save pathToOpen to window state
2013-06-11 14:17:20 -07:00
Corey Johnson & Kevin Sawicki
0c8f200d45
Always load bundle preferences
...
Previously the scoped properties would not load if there weren't
any grammars in the bundle or if listing the grammars directory
failed.
Closes #570
2013-06-11 13:52:40 -07:00
Corey Johnson & Kevin Sawicki
7516cebb40
Comment .less code correctly
2013-06-11 12:25:57 -07:00
Corey Johnson & Kevin Sawicki
bcc16fbefe
Remove hash params from url
...
Load settings are now stored on the browser window.
2013-06-11 11:17:16 -07:00
Kevin Sawicki
b474a818aa
Always return false from link click callback
2013-06-10 08:56:19 -07:00
Kevin Sawicki
cea521a737
Save window parameters on reload
2013-06-08 17:22:21 -07:00
Kevin Sawicki
4fdaf6dead
Always open untitled editor when no path to open
...
Refs #577
2013-06-07 10:54:51 -07:00
Kevin Sawicki
dea0e08d93
Use hash instead of query string for parameters
...
This allows the pathToOpen to be changed when the project
path changes.
Previously if the untitled window file was saved, the project
path would be forever associated with the undefined window.
Now when the project path changes, the pathToOpen changes so
that the state is persisted to the project area and the untitled
window never has a project.
2013-06-07 10:50:06 -07:00
Kevin Sawicki
fca1c13d03
Move image-view to a package
...
This removes the ugliness of having project.coffee require
image-edit-session at the end since the image-edit-session can
now register itself in an @activate callback and as a deferred
deserializer in the package.cson file.
2013-06-07 10:15:32 -07:00
Kevin Sawicki
3029137cb8
Correct typo in return comment
2013-06-07 09:31:04 -07:00
Cheng Zhao
bbde993e81
Fullscreen => FullScreen.
2013-06-07 14:33:55 +08:00
Kevin Sawicki
9088ecca16
Default first argument to empty hash
2013-06-06 17:31:54 -07:00
Kevin Sawicki
9a99af2281
Store/restore full screen state on root view
...
Closes #245
2013-06-06 17:21:33 -07:00
Kevin Sawicki
dc46960e6c
Update scroll position after layer dimensions
...
Calling updateLayerDimensions() may change the scroll position
so restore the edit session's stored scroll positions after
updateLayerDimensions() is called but store the scroll left and
scroll top positions beforehand.
2013-06-06 16:15:51 -07:00
Kevin Sawicki
7a04b22375
💄
2013-06-06 16:00:44 -07:00
Kevin Sawicki
d5526515f1
Only save scroll position when attached
2013-06-06 15:58:44 -07:00
Kevin Sawicki
7313407d04
Resolve ${group:/command} style pattern names
...
These are used by the todo package to include the lower cased
version of the matched capture index in the pattern scope name.
2013-06-06 12:39:51 -07:00
Kevin Sawicki
71c86381df
Support includes inside of injection grammars
2013-06-06 11:30:01 -07:00
Kevin Sawicki
af14f57962
Support opening fuzzy finder to a specific line
...
Adding a line number after a colon such as ':8' to the end of the fuzzy
filter input field will navigate to line 8 of the opened editor.
2013-06-06 10:17:15 -07:00
Kevin Sawicki
eaf5b8bc8e
Remove duplicate getLastScreenRow() method
2013-06-06 08:21:00 -07:00
Kevin Sawicki
efb2cfab9f
Remove duplicate getBufferRowCount() method
2013-06-06 08:19:21 -07:00
Kevin Sawicki
320328777e
Remove duplicate keys in classes
2013-06-06 08:18:08 -07:00
Kevin Sawicki
5c36064afc
Remove empty param lists
2013-06-06 08:16:11 -07:00
Kevin Sawicki
7ccf2390a7
Constantly sync scroll left/top value from editor to edit session
...
Previously these values were only saved on the edit session when
is became inactive causing the scroll position to not always
persist between refreshes.
Closes #474
2013-06-05 19:14:30 -07:00
Kevin Sawicki
d658e7c490
Only uncomment when all lines start with a comment
...
Previously only the first row was checked for a comment. Now all
rows are checked and the rows are only uncommented when they all
start with a comment.
This only impacts languages that do not specify a command end pattern.
Closes #554
2013-06-05 17:38:50 -07:00
Kevin Sawicki
5adf74794b
Log errors from nak to console
2013-06-04 18:47:05 -07:00
Kevin Sawicki
66000a6769
Upgrade to oniguruma 0.16
...
This release returns objects for capture indices instead of
the index, start, and end in sequence in a single array.
2013-06-04 17:41:02 -07:00
Kevin Sawicki
f63866b2a2
Rename hasSurrogatePairs() to hasSurrogatePair()
2013-06-04 13:43:19 -07:00
Kevin Sawicki
a109a3317e
Add support for surrogate pairs
...
Surrogate pairs, meaning characters outside the Basic
Multilingual Plane, are now broken out as atomic tokens.
Closes #567
2013-06-04 13:43:19 -07:00
Kevin Sawicki
36ddbe99a1
Have inner image-container consume entire area
2013-06-04 13:23:26 -07:00
Kevin Sawicki
f3a500923c
Catch and log errors parsing window state
...
Previously if a read or parse error occurred the window
would never show and the dev tools would be inaccessible.
2013-06-03 12:14:17 -07:00
Kevin Sawicki
f90530f593
💄
2013-06-03 10:50:13 -07:00
Kevin Sawicki
3683f7e097
Move show() to atom.coffee
...
Co-locates it with hide() and focus() which are similar.
2013-06-03 10:43:43 -07:00
Kevin Sawicki
8c9aad9e34
Merge branch 'master' into atom-shell
2013-06-03 09:38:47 -07:00
Kevin Sawicki
94c1ed4c28
Add node_modules dir to config.bundledPackageDirPaths array
2013-06-03 09:32:20 -07:00
Kevin Sawicki
c1a1633593
Break on first path match
2013-06-03 09:30:33 -07:00
Cheng Zhao
a6c37ff276
💄 on code style.
2013-06-03 22:56:30 +08:00
Cheng Zhao
495b218c7f
Make atom.update() work.
2013-06-03 22:48:52 +08:00
Cheng Zhao
681969439d
Merge branch 'master' into atom-shell
2013-06-03 19:53:10 +08:00
Cheng Zhao
1aca554ae3
Make atom.crashMainProcess and atom.crashRenderProcess work.
2013-06-02 00:34:12 +08:00
Kevin Sawicki
9431a8c3ac
Check that scope name is present before comparing
...
Previously if the last 2 rules in the stack had no scope
name and the position wasn't advancing then the last rule
would be popped.
This caused Java single line comments to not parse properly
since the push rules for comment blocks have no scope name.
2013-05-31 09:28:41 -07:00
Kevin Sawicki
9e7a9e6210
Remove incorrect @
...
anchorPosition is a parameter
2013-05-31 09:25:54 -07:00
Cheng Zhao
db85792c59
Center the window by default, instead of position of (0, 0).
2013-05-30 22:16:15 +08:00
Kevin Sawicki
5a691a1b1e
Merge branch 'master' into atom-shell
2013-05-29 13:23:23 -07:00
Corey Johnson & Kevin Sawicki
c1ebf8ae1a
Allow Syntaxes and Preferences directories to be lowercase
2013-05-29 11:02:57 -07:00
Cheng Zhao
b1e8a45fbe
Remove some dead code.
2013-05-29 12:20:56 +08:00
Cheng Zhao
d4142db847
Restart renderer process instead of reloading.
...
Chromium has the bug that reloading would cause memory leaks, and V8's
GC would slow down everything, so restarting the renderer process when
the Atom is reloaded would make things much cleaner.
2013-05-29 12:20:55 +08:00
Corey Johnson & Kevin Sawicki
7bc905d352
Reuse existing windows when opening paths from command line
2013-05-28 14:45:54 -07:00