Commit Graph

5954 Commits

Author SHA1 Message Date
Antonio Scandurra
87c7a0ae30 💚 Fix some TextEditorComponent specs 2015-09-23 16:25:50 +02:00
Antonio Scandurra
0f7d88c77b 💚 Fix remaining failures in TextEditorPresenter 2015-09-23 16:14:15 +02:00
Antonio Scandurra
b198acc995 Fix soft wrapping when editorWidthInChars is used 2015-09-23 15:34:44 +02:00
Antonio Scandurra
fffcfb3405 Save scroll positions in the model to serialize 'em 2015-09-23 15:34:44 +02:00
Antonio Scandurra
60fdd3793f Stop reporting scroll positions to the model 2015-09-23 15:34:44 +02:00
Antonio Scandurra
f1c0658470 🔥 Remove double tested behavior 2015-09-23 15:34:43 +02:00
Antonio Scandurra
49fae9b029 Test that the logical scroll event is triggered 2015-09-23 15:34:43 +02:00
Antonio Scandurra
e75812cfbf 🔥 Remove specs
...as we are already testing a similar behavior in the presenter
2015-09-23 15:34:43 +02:00
Antonio Scandurra
8463d5c59d Start porting DisplayBuffer specs 2015-09-23 15:34:43 +02:00
Antonio Scandurra
5d42dd557a Finish porting TextEditor specs 2015-09-23 15:34:43 +02:00
Antonio Scandurra
d0eabb25fd 🔥 Remove assertion about scrolling 2015-09-23 15:34:42 +02:00
Antonio Scandurra
4136c195c9 Port .scrollToCursorPosition() specs 2015-09-23 15:34:42 +02:00
Antonio Scandurra
0ccb34de42 wip 2015-09-23 15:34:42 +02:00
Antonio Scandurra
25735b2ee1 Port autoscroll when selecting buffer ranges 2015-09-23 15:34:42 +02:00
Antonio Scandurra
7f3160eba6 Port .selectLinesContainingCursors() specs 2015-09-23 15:34:42 +02:00
Antonio Scandurra
57a006d19b Start porting scroll-related specs 2015-09-23 15:34:41 +02:00
Antonio Scandurra
d3b1d309ba Make sure scroll positions are integers 2015-09-23 15:34:41 +02:00
Antonio Scandurra
37fb253bfd Prevent default for mousewheel event on mini editors
(ref. 0346e58)
2015-09-23 15:34:27 +02:00
Antonio Scandurra
ddd7aacd9d 💚 Fix TextEditorComponent specs 2015-09-23 15:34:22 +02:00
Antonio Scandurra
68e2d7e7e4 wip 2015-09-22 17:30:51 +02:00
Antonio Scandurra
b5a59017d5 wip 2015-09-22 16:20:15 +02:00
Ivan Žužak
abf6d40cc4 Merge pull request #8828 from atom/iz-cut-to-end-of-buffer-line
Add command for cutting text to the end of the cursor's buffer line
2015-09-20 10:45:45 +02:00
Nathan Sobo
d2d802e76f Remove progress spec on Project::open 2015-09-18 21:26:16 -06:00
Nathan Sobo
4a7cbff6d3 Remove Q from PackageManager, ThemeManager, Package, ThemePackage
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-09-18 21:24:59 -06:00
Nathan Sobo
108b00dae0 Support jQuery wrappers being passed to tooltip manager
Not my favorite feature, but required for backward-compatibility.
2015-09-18 20:48:51 -06:00
Nathan Sobo
a28dc086df Remove logging 2015-09-18 20:48:51 -06:00
Nathan Sobo
65e74cb5ba Reuse delegated listener in spec reporter 2015-09-18 20:48:51 -06:00
Nathan Sobo
292289aed7 Handle clicks on descendants of links correctly in window event handler 2015-09-18 20:48:50 -06:00
Nathan Sobo
206e846cda Fix linter errors 2015-09-18 20:48:50 -06:00
Nathan Sobo
d5cb555b61 Remove SpacePen from spec reporter 2015-09-18 20:48:50 -06:00
Nathan Sobo
43de55b179 Fix delegated tooltips 2015-09-18 20:48:50 -06:00
Nathan Sobo
3c58e221a2 Add custom tooltip implementation that doesn’t depend on jQuery 2015-09-18 20:48:49 -06:00
Nathan Sobo
69664fc77b Remove space-pen-extensions
Move the last remaining feature into the tooltip manager.
2015-09-18 20:48:49 -06:00
Nathan Sobo
239da56130 Remove space-pen-extensions-spec 2015-09-18 20:48:49 -06:00
Nathan Sobo
035429b7bc Wait for fakeSearch to be defined in spec 2015-09-18 20:48:49 -06:00
Nathan Sobo
eddd84c843 Drop jQuery from spec helper
Some of the global spec-helper methods that depend on jQuery may need
to be removed from package specs, but most should be rare based on my
checks.
2015-09-18 20:48:48 -06:00
Nathan Sobo
a977d93b7c Remove compatibility shims from space-pen-extensions 2015-09-18 20:48:48 -06:00
Nathan Sobo
4ac43cf994 Drop space-pen-extensions from WorkspaceSpec 2015-09-18 20:48:48 -06:00
Nathan Sobo
a93fde4e6a Rename window-spec to window-event-handler-spec 2015-09-18 20:48:48 -06:00
Nathan Sobo
9e59ab1e45 Don’t use jQuery in window-event-handler or its spec 2015-09-18 20:48:48 -06:00
Nathan Sobo
8f7c9cd370 Don’t use jQuery in view-registry-spec 2015-09-18 20:48:47 -06:00
Nathan Sobo
fdfba54b43 Keep using jQuery for tooltips spec, not from atom-space-pen-extensions 2015-09-18 20:48:47 -06:00
Nathan Sobo
3e529e8e76 Don’t use jQuery in theme-manager-spec 2015-09-18 20:48:47 -06:00
Nathan Sobo
14a2181c66 Don’t use jQuery in package-spec 2015-09-18 20:48:47 -06:00
Nathan Sobo
f77cb3786c Terminate all directory searches if any fail
@bolinfest: I was seeing exceptions after the test terminated due to
one of the searches still running. I think since the promise rejects
with “all” semantics that we should cancel any other searches when one
fails. I wouldn’t expect them to continue if the promise is no longer
unresolved.
2015-09-18 20:48:46 -06:00
Nathan Sobo
0ab27610e5 Don’t use jQuery in package-manager-spec 2015-09-18 20:48:46 -06:00
Nathan Sobo
1efb03eb33 Don’t use space-pen in spec helper 2015-09-18 20:48:46 -06:00
Nathan Sobo
6ccb9573c6 Drop unused requires 2015-09-18 20:48:46 -06:00
Nathan Sobo
5271f29bf7 Don’t use jQuery to test atom protocol handler 2015-09-18 20:48:46 -06:00
Nathan Sobo
c7ecad5576 Remove EditorView 2015-09-18 20:48:45 -06:00