Nathan Sobo
9849c62d80
Properly handle regions that straddle existing regions
...
When we're creating folds that contain other folds, we'll need the
region based on the new fold's row mapping to overwrite the regions
from the old folds. This commit ensures that the new region cleanly
slots in, replacing any regions it completely contains and splitting
regions that it only partially overlaps.
2013-05-10 13:20:42 -06:00
Nathan Sobo
3c630fb7f4
Rename mapping -> region within RowMap
2013-05-10 13:20:42 -06:00
Nathan Sobo
55f0b6a1f8
Replace existing regions when inserting a mapping that surrounds them
2013-05-10 13:20:42 -06:00
Nathan Sobo
1b21fdda3b
Don't throw errors when applying screen deltas after the last mapping
2013-05-10 13:20:41 -06:00
Nathan Sobo
c17d6ba487
Adjust multiple mappings if needed when applying screen deltas
...
If there are multiple mappings following the start row of the delta
that span fewer screen rows than the delta, we collapse mappings to 0
screen rows until we have removed the number of rows specified by the
delta.
Expanding positive deltas expands the first mapping following the
start row as it did previously.
2013-05-10 13:20:41 -06:00
Nathan Sobo
c6ff7e8934
Inserting a mapping within an existing mapping preserves its shape
...
Inserting a mapping should never change the position of any existing
mappings on screen or in the buffer. It's simply a statement about a
range of rows in the buffer mapping to a range of existing rows on
screen, but shouldn't add or remove any rows. Adding and removing rows
on screen or in the buffer is the job of the applyBufferDelta and
applyScreenDelta methods.
2013-05-10 13:20:41 -06:00
Nathan Sobo
1895e8143d
Allow the screen row count of N-screen:1-buffer mappings to be updated
2013-05-10 13:20:41 -06:00
Nathan Sobo
5c74a02688
Add row map specs for mappings of N screen rows to 1 buffer row
2013-05-10 13:20:41 -06:00
Nathan Sobo
2f900e11ed
Add RowMap.bufferRowRangeForScreenRow
2013-05-10 13:20:41 -06:00
Nathan Sobo
1123ca4bc1
Helpful comments
2013-05-10 13:20:41 -06:00
Nathan Sobo
4973c2afc6
Don't return a mapping from traverseToBufferRow if we fall off the end
2013-05-10 13:20:41 -06:00
Nathan Sobo
502e3ceb3b
Factor mapping traversal its own traverseToBufferRow method
2013-05-10 13:20:41 -06:00
Nathan Sobo
32b40fe1ad
Eliminate dummy implementation of bufferRowRangeForScreenRow
2013-05-10 13:20:41 -06:00
Nathan Sobo
9a12b170f6
Allow insertion of multiple buffer row range mappings
2013-05-10 13:20:41 -06:00
Nathan Sobo
9f4b594bd0
Start on RowMap
2013-05-10 13:20:41 -06:00
Kevin Sawicki
ea7a8c9670
Render markdown when buffer is reloaded
...
This will keep the preview in sync with the editor.
2013-05-10 12:16:45 -07:00
Kevin Sawicki
113dac6e2b
Add more entries to fence name hash
2013-05-10 12:13:37 -07:00
Kevin Sawicki
642427d015
Remove unneeded guards
...
Syntax will always return a grammar and tokenizing
with the null grammar is acceptable.
2013-05-10 12:12:25 -07:00
Kevin Sawicki
26dad65c8d
Only set code color outside of editor-colors parent
2013-05-10 12:12:03 -07:00
Kevin Sawicki
827bab90bf
Add tokenizeLines to null grammar
2013-05-10 12:09:58 -07:00
Kevin Sawicki
1a90f1c017
Include source.shell inside of sh/bash code blocks
2013-05-10 11:50:21 -07:00
Kevin Sawicki
8172618bec
Remove unused libgit2 script
2013-05-10 11:19:40 -07:00
Garen Torikian & Nathan Sobo
e12d779f00
Add listing of package.json keys
2013-05-08 15:07:55 -07:00
Garen Torikian & Nathan Sobo
1300955c13
Explicitly mention node.js core modules
2013-05-08 15:07:38 -07:00
Garen Torikian & Nathan Sobo
7714c35829
Finish package sample
2013-05-08 15:07:25 -07:00
Kevin Sawicki
3de070708f
Mention class layout
2013-05-08 11:30:34 -07:00
Kevin Sawicki
7aba7b0854
Use consistent rm flag order
v0.9.0
2013-05-08 11:17:55 -07:00
Kevin Sawicki
f16c7247a9
Clean cefode cache during prebuild
2013-05-08 11:17:30 -07:00
Kevin Sawicki
ef2ece3600
Treat .tgz extension as compressed
2013-05-08 10:27:26 -07:00
Kevin Sawicki
962b559638
Mention fuzy finder fix
2013-05-08 10:25:54 -07:00
Garen Torikian & Nathan Sobo
9ab4707d43
More words on creating a pane
2013-05-07 12:53:09 -07:00
Kevin Sawicki
c3759feaa0
Show number of paths loaded after indexing message
2013-05-07 08:56:06 -07:00
Kevin Sawicki
96418f3640
Respect core.excludeVcsIgnoredPaths in fuzzy finder
2013-05-06 18:06:10 -07:00
Kevin Sawicki
a96c354f4f
Fork with harmony collections enabled
2013-05-06 18:04:01 -07:00
Kevin Sawicki
81462d9050
Hide/show entire loading area instead of only message
2013-05-06 16:53:34 -07:00
Kevin Sawicki
919bdca8f4
Style select list loading area similar to command panel
2013-05-06 16:34:39 -07:00
Kevin Sawicki
130e5cd3ec
Use task handler to load fuzzy finder paths
...
This use completely async calls from a process task and
also respects the repository-defined ignore rules.
Closes #509 and #514
2013-05-06 16:34:39 -07:00
Kevin Sawicki
42301210c4
Log uncaught exceptions to parent process
2013-05-06 16:34:39 -07:00
probablycorey
43a3c93d9b
Substitution commands can replace text with empty string
...
Closes #488
2013-05-06 12:11:48 -07:00
Kevin Sawicki
cc98b88e28
Expect Error instead of JSON string in markdown preview view
2013-05-06 09:42:45 -07:00
Kevin Sawicki
212a192abf
💄
2013-05-06 09:38:10 -07:00
Kevin Sawicki
ebc75b1ba8
Use site color for code elements
2013-05-06 08:34:05 -07:00
Kevin Sawicki
7be6421989
Remove incorrect error message
...
The markdown API is no longer used.
2013-05-06 08:26:02 -07:00
Nathan Sobo
b4206d3202
Merge branch 'master' into know-when-to-foldem
...
Conflicts:
src/app/edit-session.coffee
2013-05-06 08:35:13 -06:00
Nathan Sobo
e8e0d5dd02
Fix regression: folds can be destroyed by clicking them
2013-05-06 08:27:43 -06:00
Garen Torikian
be229d374e
Finish the working with styles section
2013-05-04 11:49:22 -07:00
Garen Torikian
14b28a8a89
Update package creation docs
2013-05-04 11:49:22 -07:00
Garen Torikian
c71bccd72c
Add new Included Libs doc
2013-05-04 11:49:22 -07:00
Garen Torikian
cee9605fc5
Updates to first package information
2013-05-04 11:49:22 -07:00
Garen Torikian
7b5b942c47
Start the Creating a Package doc
2013-05-04 11:49:22 -07:00