Commit Graph

7125 Commits

Author SHA1 Message Date
probablycorey
58bf19cc83 Fix syntax error 2013-12-12 14:00:21 -08:00
probablycorey
f439b04978 Update tree-view and find-and-replace packages 2013-12-12 13:37:56 -08:00
probablycorey
132194337e Merge remote-tracking branch 'origin/master' into cj-deleted-files-not-modified 2013-12-12 11:00:17 -08:00
Ben Ogle
4ffa5bb90e Make this fn private. 2013-12-12 10:34:08 -08:00
Ben Ogle
7111961929 Move function into setTextViaDiff() 2013-12-12 10:34:08 -08:00
Ben Ogle
5d46d7a881 💄 2013-12-12 10:34:08 -08:00
Ben Ogle
8d1d64d9d3 bufferRow -> row 2013-12-12 10:34:08 -08:00
Ben Ogle
60498616b7 numberLines -> lineCount 2013-12-12 10:34:08 -08:00
Ben Ogle
ed745d2072 Remove log lines 2013-12-12 10:34:08 -08:00
Ben Ogle
1f69963982 Apply text to buffer via diff on reload
Previously, it would blindly read from disk on reload, and set the text 
into the editor. This was problematic as it would mess with markers and 
folds. No longer. 

Fixes #1285 and fixes atom/bookmarks#3
2013-12-12 10:34:08 -08:00
probablycorey
2d5b04579f Merge branch 'master' into cj-deleted-files-not-modified
Conflicts:
	src/pane.coffee
2013-12-12 09:57:28 -08:00
Kevin Sawicki
9fbfeb970b Remove mixins already added by Model superclass 2013-12-12 09:04:16 -08:00
Nathan Sobo
b9b8c61c11 🚱 Properly remove items from pane's state document
Fixes #1299.

This updates Pane::removeItemAtIndex to call Array::splice with the
index to be removed instead of Array::remove, which was changed to take
the *object* to be remove rather than an index. Oops.
2013-12-11 21:39:38 -08:00
Kevin Sawicki
865d94d758 Add dev mode icon to status bar
Skull colliding with tabs was too much to handle.

Red square in status bar is the new indicator.
2013-12-11 18:57:07 -08:00
Kevin Sawicki
29b85a1bb9 Clear the goal column when the cursor moves
Previously it was only cleared when changing the position explicitly
and not as a result of the underlying marker changing such as during a
text insertion.

Closes #1295
2013-12-11 18:02:52 -08:00
Kevin Sawicki
dda65d82c3 Remove unused guid require 2013-12-11 17:49:31 -08:00
Kevin Sawicki
56de32f433 📝 Mention packages instead of extension 2013-12-11 17:23:23 -08:00
Kevin Sawicki
3cb751723d Register editor with project when deserializing 2013-12-11 17:18:03 -08:00
Nathan Sobo
0b5155f496 Set telepath.devMode to true when not on an official release
This will enable assertions inside of telepath to help us diagnose
atom/telepath#7. Otherwise, the issue *should* be covered over for end
users.
2013-12-11 14:47:52 -08:00
Nathan Sobo
8a8df8d6cb Add Atom::isReleasedVersion, which determines if the version is a SHA 2013-12-11 12:28:20 -08:00
Nathan Sobo
6bb4eaee93 Merge branch 'ns-teleditor' 2013-12-11 11:17:45 -08:00
Nathan Sobo
7710845cdc Use property accessors instead of accessing state directly 2013-12-11 11:10:43 -08:00
Nathan Sobo
8471ffed29 Observe scroll* behaviors instead of the entire state document 2013-12-11 11:10:06 -08:00
Nathan Sobo
e5bf70544e Document methods 2013-12-11 11:02:56 -08:00
Nathan Sobo
e275b6c414 Merge remote-tracking branch 'origin/master' into ns-reopen-uris 2013-12-10 19:13:21 -08:00
Nathan Sobo
f3cdb6e0a2 Merge remote-tracking branch 'origin/master' into ns-teleditor 2013-12-10 19:10:09 -08:00
Nathan Sobo
425c076221 Make Editor a telepath.Model subclass 2013-12-10 17:32:34 -08:00
Nathan Sobo
18a712a1f7 Reopen closed pane items in workspace – by uri instead of deserializing
Serializing and deserializing closed pane items was turning into a pain
with the new telepath changes that are phasing out this kind of on the
fly serialization. Reopening by uri saves memory and simplifies panes
enormously. If we want non-uri reopening we can revisit it later when
telepath models are better integrated.
2013-12-10 17:19:44 -08:00
probablycorey
4bfcdf4d5b Remove unmodified editors from pane when the buffer is deleted 2013-12-10 17:08:07 -08:00
probablycorey
201717a9aa Remove duplicate destroy
Telepath now emits the 'destroy' event
2013-12-10 17:04:46 -08:00
probablycorey
24c84fe09c Merge remote-tracking branch 'origin/master' into cj-deleted-files-not-modified 2013-12-10 14:46:26 -08:00
probablycorey
a3eb76d630 💄 2013-12-10 13:52:42 -08:00
probablycorey
8ffa8fed12 Always use Pane::addItem when adding items. 2013-12-10 13:50:51 -08:00
Ben Ogle
43bf47fa26 Upgrade to underscore-plus@0.4.0 2013-12-10 11:47:53 -08:00
Kevin Sawicki
092ed37ed9 Remove unused core.hideGitIgnoredFiles config setting 2013-12-10 11:07:05 -08:00
probablycorey
19da22d440 Revert "Project doesn't serialize non-modified buffers that don't exist on disk"
This reverts commit ec3e139632.
2013-12-10 10:15:03 -08:00
probablycorey
51ff3ec46a Revert "Rename destroyNonExistentNonModified"
This reverts commit 22ec8c3a75.
2013-12-10 10:14:56 -08:00
Nathan Sobo
9deec49f81 Bump editor serialization version 2013-12-10 01:44:10 -08:00
Nathan Sobo
7138d5b888 Merge branch 'master' into ns-teleditor
Conflicts:
	package.json
2013-12-10 01:33:23 -08:00
Kevin Sawicki
72191f3d3d Add atom.getWindowLoadTime() API to be used by metrics 2013-12-09 15:20:22 -08:00
probablycorey
22ec8c3a75 Rename destroyNonExistentNonModified 2013-12-09 12:06:44 -08:00
probablycorey
ec3e139632 Project doesn't serialize non-modified buffers that don't exist on disk 2013-12-09 11:41:57 -08:00
probablycorey
63e3be8630 Only mark a deleted file as modified if it was previously modified.
Fixes #693
2013-12-09 11:06:29 -08:00
Nathan Sobo
c8253be1ae Use the softWrap property directly 2013-12-07 14:08:00 -08:00
Nathan Sobo
9ede5f85e3 Use the ::editorWidthInChars property directly 2013-12-07 14:07:46 -08:00
Nathan Sobo
640fd0051b Clarify comment 2013-12-07 14:03:14 -08:00
Nathan Sobo
779c918179 Reorder requires 2013-12-07 14:03:07 -08:00
Nathan Sobo
ee1f21439d Merge branch 'ns-latest-telepath' into ns-teleditor 2013-12-07 13:59:35 -08:00
Nathan Sobo
f25d8d83c5 Merge branch 'master' into ns-latest-telepath 2013-12-07 13:58:53 -08:00
Kevin Sawicki
34f71a2623 Observe editor.tabLength config in TokenizedBuffer
Closes #1224
2013-12-07 11:43:48 -08:00