Commit Graph

6775 Commits

Author SHA1 Message Date
Ben Ogle
5f8e757f57 Merge pull request #1102 from atom/bo-add-replace
Add replace() to project and buffer
2013-11-08 16:57:38 -08:00
Ben Ogle
ee896846bb Comments. Change up the api a tiny bit. 2013-11-08 12:25:59 -08:00
Ben Ogle
ddd560b785 Add replace to project and buffer 2013-11-08 12:20:43 -08:00
Matt Colyer
43419fdef2 Normalize dom ids rather than remove 2013-11-07 14:41:58 -08:00
Matt Colyer
dfa5ac11a2 Merge branch 'origin/master' into win-specs 2013-11-07 13:59:43 -08:00
Daniel Hengeveld
6485e4f540 Merge pull request #1077 from atom/copy-docs-into-atom-io
Copy docs into atom io
2013-11-07 11:16:46 -08:00
Kevin Sawicki & Nathan Sobo
55c5ae926c Create telepath string with replicate: false option 2013-11-07 10:02:43 -08:00
Kevin Sawicki & Nathan Sobo
ef68fd24d5 Log open exception stack to console 2013-11-07 10:02:43 -08:00
Matt Colyer
38a3c0dbd3 Simplify regexp escaping in text-mate-grammar.coffee 2013-11-07 09:26:56 -08:00
Kevin Sawicki
6b63f5db9e Always mark cursor needing autoscroll 2013-11-07 09:04:41 -08:00
Kevin Sawicki
291f4fbb90 Mark last cursor for autoscroll on undo/redo 2013-11-07 09:04:41 -08:00
Kevin Sawicki
dba7687470 Autoscroll even when text does not change 2013-11-07 09:04:41 -08:00
Matt Colyer
98db48eae6 Fix syntax path matching 2013-11-06 17:04:50 -08:00
Ben Ogle
ce2e123cc8 Merge pull request #1088 from atom/bo-changes-for-themes-with-padding
Handle themes with padding on the scroll view
2013-11-06 14:38:34 -08:00
Ben Ogle
6e049dd173 Fix tests in editor 2013-11-06 14:13:09 -08:00
Matt Colyer
015f4f7542 Merge remote-tracking branch 'origin/master' into win-specs 2013-11-06 12:12:41 -08:00
Kevin Sawicki
90c21906a4 Add fold- prefix to selected class name
This prevents interference with the base selected class
which adds a noticeable blur to folded lines that are selected
when using dark syntax and light ui.
2013-11-06 09:49:18 -08:00
Ben Ogle
0aa0dc01d5 Properly reset the size of layers on resize
Otherwise, when a theme has padding in the scroll-view, it will be 
scrollable all the time (width:100%).
2013-11-05 18:40:05 -08:00
Ben Ogle
994756f8c1 Use padding in the pixel left calculation
Now themes can specify padding in the scroll-view so the text isn't 
jammed up against the
2013-11-05 18:40:04 -08:00
Matt Colyer
edc789173b Don't install commands on windows 2013-11-05 16:44:03 -08:00
Matt Colyer
1fe6a2974d Merge branch 'win-specs' of https://github.com/atom/atom into win-specs 2013-11-05 15:46:34 -08:00
Matt Colyer
cd2e78f04f Fix indentation of comments
Ref #1081
2013-11-05 11:46:44 -08:00
Ben Ogle
8851120db2 Add split: left handling to openSingletonSync() 2013-11-05 11:25:45 -08:00
Kevin Sawicki
aad23d4760 💄 Remove extra empty line 2013-11-04 18:39:59 -08:00
Kevin Sawicki
d20bff473b Increase overflowchanged timeout to 100ms 2013-11-04 18:38:08 -08:00
Kevin Sawicki
287f1984db Update width in chars when editor's size changes
Register an overflowchanged event listener on the editor's scroll view
and update the width in chars when this event fires.

Closes #928
Closes #961
Closes #993
2013-11-04 18:12:17 -08:00
Matt Colyer
e312050163 Create valid DOM ids for stylesheets 2013-11-04 16:21:50 -08:00
Kevin Sawicki
621058aa9e Register copied edit sessions on the project
Without this any split edit sessions won't be passed to package
listeners that register using project.eachEditSession()

Closes #1065
2013-11-01 15:51:27 -07:00
Kevin Sawicki
3b52a6a040 Use underscore-plus 2013-11-01 15:50:38 -07:00
Nathan Sobo
e70f87dfc7 Upgrade to telepath 0.20.0 so simple selection changes aren't undone
This version of telepath adds an `undo: 'combine'` option which becomes
the default for marker changes. With an undo strategy of 'combine', the
operation is only undone when combined in a transaction with other
operations that are undone. This prevents simple marker updates from
getting pushed to the undo stack.
2013-11-01 16:39:32 -06:00
Kevin Sawicki
7e043f5bc6 Change platform check from windows to win32 2013-11-01 13:56:47 -07:00
Kevin Sawicki
e8f8cd2dcd Normalize forward slashes on windows 2013-11-01 13:56:47 -07:00
Kevin Sawicki
132c6f7414 Enable ignoreEolWhitespace in getLineDiffs on windows 2013-11-01 13:56:47 -07:00
probablycorey
b041c0176c Merge remote-tracking branch 'origin/master' into cj-sublime-bindings 2013-11-01 11:33:13 -07:00
probablycorey
b22d64745f Handle multi-keystroke keybinding
Previously for a binding like `meta-x meta-y` you had to hold down the 
meta key. This makes it possible to release the meta key between
key presses.
2013-11-01 11:15:01 -07:00
probablycorey
9e8b1fb661 Handle modifier keydown events
When only a modifier is pressed it still triggers a keydown event. This
normalizes the keystroke name for those events.
2013-11-01 11:02:46 -07:00
Kevin Sawicki
bf48195752 Upgrade to fs-plus@0.5.0 2013-11-01 08:46:03 -07:00
Kevin Sawicki
0264fd6be5 Rename writeSync to writeFileSync 2013-11-01 08:46:03 -07:00
Kevin Sawicki
9c79e39401 Upgrade to fs-plus@0.4.0 2013-11-01 08:46:03 -07:00
Kevin Sawicki
e06100fe25 Shim fs.exists 2013-11-01 08:46:03 -07:00
Kevin Sawicki
01610a3fb8 Add shims for previous fs methods 2013-11-01 08:46:03 -07:00
Kevin Sawicki
d8766b9aba Use makeTreeSync 2013-11-01 08:46:03 -07:00
Kevin Sawicki
ebb7a2637a Upgrade to fs-plus@0.3.0 2013-11-01 08:46:03 -07:00
Kevin Sawicki
bc289cc0cb Remove unused dependency 2013-11-01 08:46:02 -07:00
Kevin Sawicki
ef97dadea1 Update fs-utils references to fs-plus 2013-11-01 08:46:02 -07:00
Kevin Sawicki
83dcf79bcf Use fs-plus 2013-11-01 08:46:02 -07:00
Ben Ogle
70925263f7 Add ability to specify rowCount to selectUp and selectDown() 2013-10-31 17:47:13 -07:00
Nathan Sobo
e8e3e3224f Switch to new API for Document.deserialize and ::saveSync 2013-10-31 17:08:41 -06:00
Nathan Sobo
62ccf92a5d Get core specs passing w/ Telepath v0.14.0. Delete replication specs.
Telepath v0.14.0 is a ground-up rewrite of the replication library,
which is principally designed to support moving document fragments
within the overall document. But it's also a lot better in a number of
ways. This commit does the minimal to get things working on the new
telepath. Standard package specs don't pass yet. Also, I deleted the
replication specs since they are extremely convoluted and will be able
to be replaced with much better versions once I complete the changes
enabled by the new Telepath.
2013-10-31 17:08:40 -06:00
Ben Ogle
695c8d97f2 Remove all the complexity from the gutter check
Give up and serenader all whenever there is a change: newlines included.
2013-10-31 13:06:32 -07:00