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
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
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
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
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
Kevin Sawicki
796632c36c
Refresh less cache before activating themes
...
This ensures the import paths for themes contain the stylesheet directories
Closes #1225
2013-12-07 11:31:06 -08:00
Nathan Sobo
1ccc93c50b
Make DisplayBuffer a telepath model subclass
2013-12-07 03:07:15 -08:00
Nathan Sobo
f4d19810b8
💄
2013-12-07 03:07:02 -08:00
Nathan Sobo
a4d2b4d21a
Make TokenizedBuffer a telepath.Model subclass
...
There's a bunch of improvised code to make this work right now because
of the circularity of this refactoring. It will stabilize over time.
2013-12-07 02:25:47 -08:00
Nathan Sobo
b61654b52f
Upgrade to telepath 0.61.0
...
This version adds a bunch of reactive primitives and ensures we destroy
documents when they are no longer referenced.
2013-12-06 21:55:57 -08:00
Daniel Hengeveld
d5a7f7396e
Merge pull request #1259 from atom/fix-doc-url
...
fix doc url
2013-12-06 14:16:06 -08:00
Daniel Hengeveld
ca65ff6c55
fix doc url
2013-12-06 14:15:19 -08:00
Ben Ogle
6d2bd7756e
Add the getGitHubAuthTokenName fn back in
2013-12-06 11:57:31 -08:00
Ben Ogle
f0fece2cf0
Add getters and setters for the keychain
2013-12-06 11:45:18 -08:00
Ben Ogle
c36ee1dbe6
Add getGitHubTokenName
2013-12-06 11:39:40 -08:00
Kevin Sawicki
365d69a19c
Add missing s to invisible
2013-12-06 08:26:59 -08:00
Kevin Sawicki
5d1e507988
Remove extra newline
2013-12-06 08:26:59 -08:00
Kevin Sawicki
776b267396
💄 Correct indent
2013-12-06 08:26:59 -08:00
Kevin Sawicki
77e4b7f90f
Use value ivar when invisible.tab is falsy
2013-12-06 08:26:59 -08:00
Kevin Sawicki
2501b98e8f
Fix typo constructor
2013-12-06 08:26:59 -08:00