Kevin Sawicki
f190dab5e6
Remove classes from buttons
...
The collapse class was causing the button to be very small since it
is defined in bootstrap with height 0.
2013-04-16 09:22:18 -07:00
Kevin Sawicki
e037bf1db9
Remove list type and margin from error messages
2013-04-16 09:18:43 -07:00
Nathan Sobo
140d5d5a85
💄 Use outlet
2013-04-15 20:45:56 -06:00
Nathan Sobo
8c648e9226
Fix tree-view specs
2013-04-15 20:45:56 -06:00
Nathan Sobo
cd9f6d4c62
Remove tree-view margin bottom
2013-04-15 20:45:56 -06:00
Nathan Sobo
305a1b91b8
Set box-sizing to content-box for autocomplete
2013-04-15 20:45:56 -06:00
Nathan Sobo
23f66c12a4
Make modified tab's close icon remain blue on hover
2013-04-15 20:45:55 -06:00
Nathan Sobo
e0c8c5ccb7
Clean up tabs styling using LESS features
2013-04-15 20:45:55 -06:00
Nathan Sobo
c1e4d2f1f1
Make tree-view CSS bootstrap-compatible. Use less and octicon-mixins.
2013-04-15 20:45:55 -06:00
Kevin Sawicki
7b42e975fb
Include hidden files when running nak
2013-04-12 11:48:44 -07:00
Kevin Sawicki
224e01102c
Use path.join() of fsUtils.join()
2013-04-11 14:37:25 -07:00
Kevin Sawicki
75da75158a
Default width to min-width property
2013-04-11 14:26:29 -07:00
Kevin Sawicki
ee7a90184b
Make autocomplete wide enough to not scroll
2013-04-11 14:18:22 -07:00
Kevin Sawicki
461aaa83b0
Unsubscribe correctly from buffers in packages
...
Previously namespaces were used to off() when a buffer was
unsubscribed from which affected other views in the same
package also listening to the current buffer.
Now event namespaces are no longer used and instead off() is
called with the callbacks originally registered for the given
event name.
2013-04-11 08:53:01 -07:00
Kevin Sawicki
2e6735ecd0
Extend Subscriber from GitDiffView
2013-04-10 22:23:29 -07:00
Kevin Sawicki
26a4ff9121
DRY up how diffs are generated and rendered
2013-04-10 22:20:21 -07:00
Kevin Sawicki
89b0d7efdb
💄
2013-04-10 22:17:14 -07:00
Kevin Sawicki
a64b81090d
Only remove styles if line diffs exist
2013-04-10 12:41:35 -07:00
Kevin Sawicki
f868c0cd4f
Add line diff decorations to editor gutter
...
Added, modified, and deleted lines will now highlighted
in the gutter for files already checked in to the repository.
2013-04-10 12:17:01 -07:00
Kevin Sawicki
8bfc3e473e
💄
2013-04-09 13:56:53 -07:00
Kevin Sawicki
27c5506d83
Set a -1 tabindex on on the tab bar
...
This prevents it from gaining focus when a close icon is clicked.
2013-04-09 13:56:28 -07:00
Mutwin Kraus
c91de1e515
Merge remote-tracking branch 'origin/master' into vim-core-changes
...
Conflicts:
src/app/pane.coffee
2013-04-09 18:52:36 +02:00
Kevin Sawicki
b2cb527f03
Look in all panes for existing preview to show
...
Previously only the next pane was checked for an existing
preview which would fail to locate any existing previews
that were moved to different panes or were no longer in the
next pane for the edit session.
2013-04-09 08:47:38 -07:00
Cheng Zhao
a5b8478060
Allow dragging of tab when there is only one tab.
...
The tabs should be able to be draggale out of the application at any
time, and if there is only one tab it should not be able to be dropped
in the same window.
2013-04-09 15:37:30 +08:00
Cheng Zhao
fdcbf611aa
The drop marker should disappear when drag is done.
...
Previously we make drop marker disappear when drop is done, it would
case the marker to live forever if the drop is not done in Atom.
2013-04-09 15:37:30 +08:00
Cheng Zhao
a630f05ae4
The dragged tab should carry information of file.
2013-04-09 15:37:30 +08:00
Kevin Sawicki
9173711b58
Look for markdown preview in all panes to update
...
Previously only the next pane was checked to see if a preview
exists to update. This would fail to update the preview if
it was moved moved from its original pane to a different pane.
Now the view tracks the buffer and updates on 'saved' events and
shows the preview if it is not in the active pane.
2013-04-08 18:26:55 -07:00
Kevin Sawicki
758ff58d2d
💄
2013-04-08 17:04:53 -07:00
Nathan Sobo
78cb747a39
No need to .off events explicitly now
2013-04-08 17:25:13 -06:00
Nathan Sobo
2601f266fa
Add subscribeToCommand to track command subscriptions on other views
2013-04-08 17:09:12 -06:00
Kevin Sawicki
cd7a906b9a
Use Pane.activeView instead of Pane.viewForActiveItem()
...
viewForActiveItem() can create a view which we don't want to do
when responding to events in the status bar. Instead we just want
to access the already existing view for the active item.
2013-04-08 13:58:22 -07:00
Kevin Sawicki
5e504d6c08
Support more than just editors in the status bar
...
The status bar view now tracks the active pane item
and hides and shows elements that apply for the active
item such as path, cursor position, grammar, etc.
2013-04-08 13:26:57 -07:00
Kevin Sawicki
63017b7800
Attach editor and update display in spec
...
This is required now that the editor checks visibility
before updating the display.
2013-04-08 12:10:57 -07:00
Mutwin Kraus
a12c78100e
Merge remote-tracking branch 'origin/master' into vim-core-changes
...
Conflicts:
src/app/editor.coffee
2013-04-08 12:54:43 +02:00
Kevin Sawicki
dc94855e1a
Parse emoji start, word, and end into different scopes
2013-04-07 15:07:57 -07:00
Kevin Sawicki
4636e9ca40
Unsubscribe if editor has no session
2013-04-07 14:52:20 -07:00
Cheng Zhao
20580a5da8
Merge pull request #478 from github/no-drag-drop
...
Don't respond to drag-drop of external files
2013-04-05 23:39:42 -07:00
Kevin Sawicki
b9fcfda904
Only match brackets if underlayer is visible
2013-04-05 15:05:43 -07:00
Kevin Sawicki
c8dd9f8d82
Use indexOf instead of substring to check path
2013-04-05 09:07:31 -07:00
Cheng Zhao
33de90a0b6
dataTransfer.setData only accepts string.
2013-04-05 10:30:18 +08:00
Mutwin Kraus
26bcf7718b
Revert "Selection support for bracket matcher"
...
This reverts commit 460c4a0b09 .
2013-04-04 15:03:35 +02:00
Mutwin Kraus
42119ecb29
Merge remote-tracking branch 'origin/master' into vim-core-changes
...
Conflicts:
src/app/text-buffer.coffee
2013-04-04 14:23:58 +02:00
Cheng Zhao
f37265978e
Only respond to drag-drop of tabs in tab bar.
2013-04-04 16:23:46 +08:00
Kevin Sawicki
bac2209449
Remove unneeded syntax.off() call
...
syntax.on() is no longer called anywhere in the package.
2013-04-03 17:51:24 -07:00
Corey Johnson & Nathan Sobo
5c9dd50e39
Start spell-checking immediately
...
When the grammar changes, spell check will detect this and toggle
itself accordingly. Before a grammar matches a buffer, it has the
NullGrammar, which won't be spell-checked.
2013-04-03 18:34:54 -06:00
Corey Johnson & Nathan Sobo
1b56cfb270
LanguageMode switches to a better-matching grammar when it is added
2013-04-03 18:34:54 -06:00
Kevin Sawicki
cf357376b3
Only add wrap guide to pane-based editors
2013-04-03 17:30:24 -07:00
Kevin Sawicki
b4eb7d072e
Only expand folder when needed for file asserts
...
Closes #470
2013-04-03 17:07:23 -07:00
Kevin Sawicki
b50b2231d6
Render all operations when moving to bottom
2013-04-03 15:55:07 -07:00
Kevin Sawicki
a762291de9
Render more operations when path is collapsed
...
Previously the command panel would shrink when a path was
collapsed since operations that hadn't been rendered yet weren't
properly added to the DOM.
This removes the collapse/expand animation since it becomes jittery
when combined with rendering new path and operation views.
2013-04-03 15:53:07 -07:00