Nathan Sobo
2d8ffef96b
Highlight the tab for the initial active edit session
2012-11-20 15:06:09 -07:00
Nathan Sobo
031c0e7ee0
Start on tabs extension
2012-11-20 14:54:46 -07:00
Nathan Sobo
b011c0ab88
Kill console.log
2012-11-20 13:06:01 -07:00
Corey Johnson & Nathan Sobo
53c7ccb297
WIP: Fleshing out specs for async tokenization
2012-11-19 17:11:20 -07:00
Corey Johnson & Nathan Sobo
e52dbb682e
WIP: Perform tokenization in chunks when edit session is shown
2012-11-19 16:50:49 -07:00
Corey Johnson & Nathan Sobo
79036f60bc
Fix bug when setTimeout is called from within a timeout in specs
2012-11-19 16:50:07 -07:00
Corey Johnson & Nathan Sobo
1cc43adddb
Break out atomic tokens in ScreenLine instead of TextMateGrammar
...
This paves the way for creating untokenized screen lines that still have leading whitespace and tab characters broken out appropriately.
2012-11-19 15:44:24 -07:00
Kevin Sawicki
69ae56a4f3
Add back spec file contents
2012-11-19 13:32:22 -08:00
Corey Johnson & Nathan Sobo
f9563f5e55
Fix PathWatcher failures
...
Now when a file is removed, we always remove its subscriptions and its kevent.
2012-11-19 13:16:14 -07:00
Kevin Sawicki
5da44b9eef
Merge branch 'master' into ignore_git_ignored_paths_in_file_finder
2012-11-19 11:07:30 -08:00
Kevin Sawicki
ce364757b1
Hide/show ignored entries in tree view based on project setting
2012-11-19 11:05:44 -08:00
Corey Johnson & Nathan Sobo
bfb1742285
ctrl-a on an empty line stays on that same line.
...
Fixes #95
2012-11-19 10:02:31 -08:00
Kevin Sawicki
a249b81c4d
Use absolute path when calling Git.isPathIgnored
2012-11-19 09:55:26 -08:00
Kevin Sawicki
9ebcf5a848
💄
2012-11-19 09:49:57 -08:00
Kevin Sawicki
c676f6f2dd
Default to showing ignored files
2012-11-19 09:48:51 -08:00
Kevin Sawicki
36bf1b0be1
Explicitly set ignored files hidden in spec
2012-11-19 09:46:35 -08:00
Kevin Sawicki
55f88d2d76
Make toggle-ignored-files a window event
2012-11-19 09:30:21 -08:00
Kevin Sawicki
95775361b1
Create method that tests if path is Git ignored
2012-11-19 09:26:00 -08:00
Kevin Sawicki
6f0a680013
Merge return statements
2012-11-19 09:22:45 -08:00
Kevin Sawicki
34e5e4a65b
Merge branch 'master' into ignore_git_ignored_paths_in_file_finder
2012-11-19 09:17:09 -08:00
Corey Johnson
5841eba1bc
Handle file resurrection :cross:
2012-11-16 16:13:34 -08:00
Corey Johnson
726345d93d
Use spyOn for window.setTimeout and window.clearTimeout in SpecHelper
2012-11-16 16:13:08 -08:00
Corey Johnson
e57cd48c54
Add jasmine.unspy
2012-11-16 16:12:04 -08:00
Corey Johnson
e78ce90268
💄
2012-11-16 16:09:14 -08:00
Corey Johnson
0ba0813f7c
Clean up lurking pathwatcher bugs
2012-11-16 15:26:55 -08:00
Corey Johnson
61aecfa58f
Backfill specs for SelectList
2012-11-16 11:34:52 -08:00
Corey Johnson
046233cf28
Remove 💩 code
2012-11-16 11:21:24 -08:00
Corey Johnson
22f3397af2
Display error when no tags are found for a file.
2012-11-16 11:10:11 -08:00
Corey Johnson
040575f0ae
Add error div to select-list
2012-11-16 11:04:56 -08:00
Corey Johnson
749f1a536f
Use outline-view:toggle to test OutlineView functionality
2012-11-16 10:30:09 -08:00
Corey Johnson
bc95ae9f3e
Don't assume there is a rootView in window.reload
...
This was causing an error when specs where reloaded.
2012-11-16 09:47:32 -08:00
Nathan Sobo
61ce3b0f1a
Simplify TokenizedBuffer#handleBufferChange for row-oriented events
...
Only talking about rows, instead of both rows and columns makes everything a lot simpler.
2012-11-16 09:23:36 -07:00
Nathan Sobo
a441ddec7c
Make TokenizedBuffer emit row-oriented change events
2012-11-16 08:57:59 -07:00
Nathan Sobo
f7b1f0521a
Emit row-oriented events from DisplayBuffer
2012-11-16 07:36:36 -07:00
Nathan Sobo
6a4f2a4478
💩 Forgot to commit the cursor blink stylesheet!
...
Sorry. It will blink correctly now.
2012-11-16 07:36:35 -07:00
Nathan Sobo
ea2e025400
Simplify DisplayBuffer's change event handling
2012-11-16 07:36:35 -07:00
Nathan Sobo
cf4e87103e
Emit row-oriented screen lien change events from EditSession
2012-11-16 07:36:35 -07:00
Nathan Sobo
841e34090b
Rename from/to to start/end in Editor's queued change events
2012-11-16 07:36:35 -07:00
Nathan Sobo
8ef8924871
💄
2012-11-16 07:36:35 -07:00
Corey Johnson
5bdfc49f3f
Window's title matches TextMate pattern of "#{basename} – #{project.path}"
2012-11-15 17:08:37 -08:00
Corey Johnson
765fedaf42
Force TreeView spec to wait until the file events have been handled.
...
Without this, the wrong files where being unwatched.
2012-11-15 16:16:05 -08:00
Corey Johnson
7f999f4a96
Store the RootView's title as a member var instead of on document.title.
...
Now the window title is mocked to remain static when the spec suite is run.
2012-11-15 15:55:37 -08:00
Corey Johnson
69e04d57aa
Remove NSLogs from PathWatcher
2012-11-15 14:37:49 -08:00
Corey Johnson
173a615f07
Clean up PathWatcher
...
Uses the path to store the callback instead of the fd. This
2012-11-15 14:31:49 -08:00
Corey Johnson
18f4134e81
Remove existing PathWatcher when window is reloaded or closed
2012-11-15 13:16:13 -08:00
Corey Johnson
0149012efc
Deactivate RootView before removing files.
...
To limit the amount of fs events that are triggered.
2012-11-15 13:16:12 -08:00
Corey Johnson
d9a3fbd910
BufferSpec doesn't double release buffers
2012-11-15 13:16:12 -08:00
Nathan Sobo
5803332501
Allow specs results to be scrolled
...
I added overflow hidden on the html and body tags in a previous commit to prevent rubber banding when scrolling the editor. But it broke the ability to scroll specs. This fixes that.
2012-11-15 13:52:29 -07:00
Nathan Sobo
a1cff240b6
Use 'blink-off' css class to blink the cursor when editor is focused
...
Rather than managing the visibility directly, a class makes it easy. The cursors will always be toggling this class on and off in the background, but only on the focused editor will it actually have an effect.
2012-11-14 21:43:06 -07:00
Nathan Sobo
0af952fc13
💄
2012-11-14 21:42:03 -07:00