Commit Graph

975 Commits

Author SHA1 Message Date
Nathan Sobo
8c037bf425 Destroy markers properly in command panel operations 2013-04-29 21:01:48 -06:00
Nathan Sobo
ae5e07ddd6 Make bracket matcher work with new marker API 2013-04-29 21:01:48 -06:00
Nathan Sobo
b16529bf9f Use new marker API to get marker ranges in command panel operations 2013-04-29 21:01:47 -06:00
Nathan Sobo
db0676cc51 Use new API to destroy markers in snippets package 2013-04-29 21:01:47 -06:00
Kevin Sawicki
58275a2f0a Use ems instead of pixels for loading octicon size 2013-04-29 18:23:10 -07:00
Kevin Sawicki
3279a575f6 Reuse search when re-toggling find in project
Previously the prior find in file search was thrown
away when toggling find-in-project subsequent times.

Now the previous search text is retained and selected when toggled.
2013-04-29 15:25:07 -07:00
Kevin Sawicki
16ffbd1920 Reuse search when re-toggling find in file
Previously the prior find in file search was thrown
away when toggling find-in-file subsequent times.

Now the previous search text is retained and selected when toggled.
2013-04-29 15:24:44 -07:00
Kevin Sawicki
a6c89b75fc Retain command panel text between toggles
Previously the mini editor was cleared on toggle but now
the existing text retained and selected when toggled.
2013-04-29 14:48:06 -07:00
Kevin Sawicki
15cf475d04 Use loading octicon in command panel
This removes the SVG spinner which had been incorrectly
rendering since the bootstrap upgrade due to box sizing
issues.
2013-04-29 14:13:21 -07:00
Kevin Sawicki
8b98a7793d Include Java grammar in fenced code blocks 2013-04-28 06:50:03 -07:00
Kevin Sawicki
b4cbffd978 Wait for execute promise to prevent leaking subscriptions 2013-04-27 07:58:56 -07:00
Corey Johnson & Kevin Sawicki
0e3f9297fb Only pass instances of EditSession to CommandInterpreter 2013-04-26 14:54:15 -07:00
Kevin Sawicki
4940439f4b Include ruby grammar for fenced ruby blocks 2013-04-26 08:58:43 -07:00
Kevin Sawicki
dccd5ec8ba Include XML grammar for fenced XML blocks 2013-04-26 08:56:13 -07:00
Kevin Sawicki
0ca1204b89 Use standard headings in command logger
Now that we have bootstrap we no longer need these
tweaks to headings.
2013-04-25 18:44:25 -07:00
Kevin Sawicki
c8d76edea1 Always return created view 2013-04-25 18:44:25 -07:00
Kevin Sawicki
1d9aa7c5e1 Use relative require path 2013-04-25 18:44:25 -07:00
Nathan Sobo
0d78098dbf Make TokenizedBuffer select its own grammar, not LanguageMode
This is part of an effort to disentangle LanguageMode, DisplayBuffer,
and TokenizedBuffer. It should be easy to create a DisplayBuffer
without creating an EditSession… let's get the dependencies flowing
in a single direction.
2013-04-25 15:13:00 -06:00
Kevin Sawicki
faaaa538a9 Enable git-diffs by default 2013-04-25 09:36:26 -07:00
Kevin Sawicki
00cb0bb8d9 Don't require SpellChecker module until correction command is triggered 2013-04-25 09:33:11 -07:00
Kevin Sawicki
59c02c90da Include comma as a word boundary 2013-04-25 09:18:43 -07:00
Kevin Sawicki
2302baa4f3 Include colon as a word boundary 2013-04-25 09:17:40 -07:00
Kevin Sawicki
763c59764f Include css grammar in fenced block 2013-04-24 18:06:27 -07:00
Kevin Sawicki
ec54330096 Add language name to fenced scopes 2013-04-24 18:03:35 -07:00
Kevin Sawicki
0640631d07 Include JS/CoffeeScript grammars in markdown code blocks 2013-04-24 17:57:59 -07:00
Kevin Sawicki
09967db742 Don't count DOM elements for operations count
The number of DOM elements rendered is fluid and using this
number displays inaccurate results as new operations are rendered.

Instead just set the operation count when creating the PathView
based on considering all the operations available.

Closes #502
2013-04-24 10:32:55 -07:00
Kevin Sawicki
946f908ab7 Use relative require paths 2013-04-24 10:12:30 -07:00
Kevin Sawicki
1b6bd1f32f Only add view to attached editors 2013-04-24 10:12:29 -07:00
Kevin Sawicki
b27b0c7d4f Defer require and only add view to pane-based editors 2013-04-24 10:12:29 -07:00
Nathan Sobo
4a5a155511 Log non-zero exits and stderr output from LoadPathsTask subprocess
This will help us investigate issue #514
2013-04-24 10:26:15 -06:00
Garen Torikian
41c79789e3 Make words more consistent 2013-04-23 17:15:20 -07:00
Garen Torikian
0ae599ad6f double space outta my face 2013-04-23 17:15:20 -07:00
Garen Torikian
1b2b8861ee fix specs 2013-04-23 17:15:20 -07:00
Garen Torikian
f85e1ccf9a modify whitespace replace fn directly 2013-04-23 17:15:19 -07:00
Garen Torikian
4ed36ec095 Fix dem specs 2013-04-23 17:15:19 -07:00
Garen Torikian
4fc7e1a9d5 Leave Markdown files alone 2013-04-23 17:15:19 -07:00
Kevin Sawicki
eec6518278 Add package to open links on ctrl-O 2013-04-23 08:39:26 -07:00
Kevin Sawicki
a447ab4edc Add link segment to GFM underline scope 2013-04-23 08:39:26 -07:00
Kevin Sawicki
220b9dadbb Don't show null grammar in grammar selector 2013-04-22 22:13:21 -07:00
Kevin Sawicki
e6274b2f45 Update expected require path for changes in 8e2938ea 2013-04-20 09:57:34 -07:00
Corey Johnson
8e2938ea82 Updae package generator require paths 2013-04-19 14:59:54 -07:00
Kevin Sawicki
36768251f8 Default ranges to empty array when no edit session
Previously an exception would be thrown if a '/' pattern was evaluated
when there was no active edit session.
2013-04-19 10:05:48 -07:00
Nathan Sobo
bbbdacab74 Avoid the .label class because it conflicts with bootstrap 2013-04-16 17:24:21 -06:00
Kevin Sawicki
aa27b3d464 Set min-height on tree to 100% 2013-04-16 15:30:33 -07:00
Nathan Sobo
45ede6bc79 💄 rename treeViewList outlet to list 2013-04-16 15:26:31 -06:00
Corey Johnson & Nathan Sobo
ca49d0714c Restore previous selections after tailing newlines are added
Closes #496
2013-04-16 14:23:42 -07:00
Kevin Sawicki
bc99e72b3d Verify the buttons individually in the spec
The outer expand-collapse element is no longer in the view.
2013-04-16 13:56:27 -07:00
Kevin Sawicki & Nathan Sobo
fe5d73c02a Use bootstrap buttons in command panel
Thanks @mdo!
2013-04-16 12:28:35 -07:00
Nathan Sobo
afa58160b3 Oops. Fix tree-view auto-scrolling and specs after breaking them. 2013-04-16 11:59:25 -06:00
Nathan Sobo
917ab3fe7b Ensure tree view highlights extend full-width, even when scrolled
The .tree-view-wrapper element is renamed to `.tree-view-resizer` to
clarify its purpose, and the actual draggable div is renamed to
`.tree-view-resize-handle`. Then a new div is introduced beneath the
resized wrapper called `tree-view-scroller`. This element has 100%
width/height and overflow scroll, allowing the actual tree view list
to *not* scroll. It uses the cutting edge `min-content` property as
its min width, which ensures it's always wide enough to contain its 
content even when the scroller wrapper is narrower. This allows the
absolutely-positioned highlights to always extend *at least* across
the full width of the list elements.
2013-04-16 11:20:56 -06:00