Commit Graph

2450 Commits

Author SHA1 Message Date
Nathan Sobo
9f4b594bd0 Start on RowMap 2013-05-10 13:20:41 -06:00
Kevin Sawicki
827bab90bf Add tokenizeLines to null grammar 2013-05-10 12:09:58 -07:00
Kevin Sawicki
c3759feaa0 Show number of paths loaded after indexing message 2013-05-07 08:56:06 -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
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
Nathan Sobo
3e937e9811 Merge remote-tracking branch 'origin/master' into know-when-to-foldem
Conflicts:
	src/app/buffer-marker.coffee
	src/app/cursor.coffee
	src/app/display-buffer-marker.coffee
	src/app/display-buffer.coffee
	src/app/edit-session.coffee
	src/app/fold.coffee
	src/app/line-map.coffee
	src/app/range.coffee
	src/app/selection.coffee
	src/app/text-buffer.coffee
2013-05-03 18:29:52 -06:00
Garen Torikian & Nathan Sobo
839f0b642c Merge Kevin's fix for empty line invisibles with the reshuffling of buildLineHtml methods to be on the class level 2013-05-03 16:57:42 -07:00
Garen Torikian & Nathan Sobo
f4d7586034 Refactor syntax highlighting of Markdown pre blocks
Extract out editor-colors class to apply background and default text color
Remove pre background coloring from Markdown preview stylesheet
2013-05-03 16:57:42 -07:00
Garen Torikian
95e14486af Fix specs for testing highlighted lines 2013-05-03 16:57:42 -07:00
Garen Torikian
cf239ccac0 Implement highlighting of Markdown pre blocks 2013-05-03 16:57:41 -07:00
Garen Torikian
1cc4c52c7a Style emoji 2013-05-03 16:57:41 -07:00
Nathan Sobo
a2c894bcc9 Fix some docs issues 2013-05-03 17:35:01 -06:00
Corey Johnson & Nathan Sobo
da938d8212 Fix edit session specs concerning delete/backspace + folds 2013-05-03 17:24:08 -06:00
Corey Johnson & Nathan Sobo
855f955dec Make BufferMarker return copies of its points so they can't be mutated 2013-05-03 17:23:24 -06:00
Corey Johnson & Nathan Sobo
1b8a8cf939 Make UndoManager.clear not cancel the transaction
If an exception is thrown while running an operation, we clear the
undo manager and re-throw it. But if we were in a transaction, we will
commit it in a `finally` block. If the transaction is set to null,
committing the transaction will then throw an exception which hides
the original exception… we don't want that. Now clear just empties the
current transaction out.
2013-05-03 17:21:50 -06:00
Nathan Sobo
9147e86d96 Delete unused param 2013-05-03 17:19:11 -06:00
Garen Torikian
d4474e1d4d Merge pull request #512 from github/change-status-block-tag
Change status block tag
2013-05-02 13:50:06 -07:00
probablycorey
616bb487f4 Correct config.observe documentation 2013-05-02 13:24:08 -07:00
probablycorey
9f4fb29b58 💄 2013-05-02 13:22:08 -07:00
Garen Torikian
1262d3fce9 💄 2013-05-02 12:22:37 -07:00
probablycorey
f4f74e1171 💄 2013-05-02 12:05:56 -07:00
probablycorey
f0c8c044c9 No longer need extra event handler
Since config doesn't store default values anymore, this line isn't
needed.
2013-05-02 12:05:56 -07:00
probablycorey
70191ea368 Don't store config values that equal their default config value
If 'foo' has not been set and has a default value of 1, 
config.set('foo', 1) will not store the 1.

If 'foo' has been set to X and has a default value of 1, 
config.set('foo', 1) will remove 'foo' from config
2013-05-02 12:05:56 -07:00
probablycorey
d294bf4d05 💄
Keep the bind commands close together
2013-05-02 12:05:56 -07:00
Kevin Sawicki
10ca03f238 Don't show indent guide in truly trailing whitespace
Lines that are all whitespace are considered trailing
whitespace and should display the indent guide.

But lines with leading and trailing whitespace should never
have the indent guide rendered in the trailing area.
2013-05-02 11:44:49 -07:00
Kevin Sawicki
ee621bcace Bind link click handler in window.handleEvents() 2013-05-01 22:18:39 -07:00
Kevin Sawicki
c2118a8cb9 Remove unneeded trailing if 2013-05-01 21:55:37 -07:00
Kevin Sawicki
21f1579f73 Return early when href is a hash 2013-05-01 21:48:43 -07:00
Kevin Sawicki
4dce9d659f Open http/https links in an external browser
Listen for all links being clicked and open any http/https
hrefs by spawning a call to the 'open' command.

Closes #531
2013-05-01 21:36:36 -07:00
Kevin Sawicki
35cf96e15f Render empty line invisibles at correct position
End of line invisibles are not rendered at the correct
position for empty lines instead of always after the
last indent guide span.

Closes #456
2013-05-01 20:54:09 -07:00
Nathan Sobo
69300e0766 Make Buffer.transact restore marker ranges on undo/redo of transaction
We no longer need to restore selection ranges before and after
transactions now because selections are based on markers so they go
along for the ride for free. This allows us to delegate directly to
Buffer.transact from EditSession.
2013-05-01 18:38:40 -06:00
Kevin Sawicki
6eb88278ae Only return false if focused
Previously the editor would not gain focus if the underlayer was clicked.
2013-05-01 17:27:33 -07:00
Garen Torikian
662ddf9fd6 Update documentation to push threshold back past 80% 2013-05-01 17:21:05 -07:00
Garen Torikian
f47eea1e6c 💄 2013-05-01 17:03:12 -07:00
Garen Torikian
5a944514f3 Rewrite all hash key options 2013-05-01 17:01:55 -07:00
Garen Torikian
fb955667f5 Resolve references to Internal 2013-05-01 17:01:55 -07:00
Garen Torikian
31aaa23b20 Update tokenizedbuffers 2013-05-01 17:01:55 -07:00
Garen Torikian
4d239b46e2 Update textmatescopeselector 2013-05-01 17:01:55 -07:00
Garen Torikian
856b07197a Update textbuffer 2013-05-01 17:01:55 -07:00
Garen Torikian
d07751605a Update textbuffer 2013-05-01 17:01:55 -07:00
Garen Torikian
ddb09e98e8 Update selection 2013-05-01 17:01:55 -07:00
Garen Torikian
75b40f603a Update screen-line 2013-05-01 17:01:55 -07:00
Garen Torikian
5c21d71461 Update root-view 2013-05-01 17:01:54 -07:00
Garen Torikian
6c5f310cba Update range 2013-05-01 17:01:54 -07:00
Garen Torikian
909a951ff0 Update project 2013-05-01 17:01:54 -07:00
Garen Torikian
51a07bdb31 Update point 2013-05-01 17:01:54 -07:00
Garen Torikian
3dcdf0863e Update line-map 2013-05-01 17:01:54 -07:00
Garen Torikian
46b5731ac4 Update line-map 2013-05-01 17:01:54 -07:00