easyhard
b9f0445e59
Add TextEditor.getUniqueTitle()
...
This method is intended to replace TextEditor.getLongTitle
and gives a better tab title when there are multiple opened
files has identical file name. This method will returns
<unique-parent-directory>/.../<filename> when opened files
have identical file name.
2015-10-02 19:19:16 +08:00
Max Brunsfeld
2cd4826e62
Merge pull request #8862 from phord/dot-git-files
...
🐛 Teach Atom to read .git files
2015-10-01 09:32:49 -07:00
Phil Hord
212886817e
Clean up *nix-specific paths in spec
...
There remain a few others in other specs, but someone who can test
them reliably should clean those up.
2015-10-01 09:41:24 -04:00
Antonio Scandurra
214f42b2e7
🎨 Unify ::updateScroll... and ::commitPendingScroll...
2015-09-30 12:32:07 +02:00
Antonio Scandurra
0f8041c611
Merge branch 'master' into as-fix-deprecations
2015-09-30 10:23:38 +02:00
Antonio Scandurra
cc98cab917
Better rows per page calculation
2015-09-30 09:17:43 +02:00
Antonio Scandurra
5cfc5b67ae
Allow listening for TextEditorElement events before attaching it
...
Fixes atom/wrap-guide#43
/cc: @maxbrunsfeld
2015-09-30 09:09:33 +02:00
Antonio Scandurra
550a1c7922
Fail on Travis when deprecated methods are used
2015-09-29 08:52:03 +02:00
Antonio Scandurra
e648d880ed
Manually set rows per page in the model
2015-09-29 08:24:28 +02:00
Max Brunsfeld
d55398b77b
Use key-path-helpers module instead of underscore-plus
2015-09-28 17:27:15 -07:00
Max Brunsfeld
889a3e5205
Merge branch 'beta'
2015-09-28 09:34:12 -07:00
Antonio Scandurra
575d79acce
Merge pull request #8604 from lpommers/pressing-esc-on-multiple-cursors-returns-to-original-cursor-or-selection
...
Pressing esc on multiple cursors returns to original cursor or selection
2015-09-28 10:01:42 +02:00
Wliu
7c0a656036
🔥 Remove hardcoded Makefile tab behavior
2015-09-26 15:54:51 -04:00
Antonio Scandurra
f17767a2bc
Merge pull request #8905 from atom/as-display-buffer-logical-coordinates
...
Use logical coordinates in DisplayBuffer
2015-09-26 18:05:10 +02:00
Antonio Scandurra
a870252702
🔥 Remove unused code
2015-09-26 18:04:15 +02:00
Max Brunsfeld
a3a6c7cd3c
Reuse compile cache between integration tests
...
This makes integration tests much faster and less resource-intensive
2015-09-25 17:39:36 -07:00
Antonio Scandurra
a96af2465f
🎨 Use ::setWidth and ::setHeight
2015-09-25 13:26:30 +02:00
Antonio Scandurra
a0277728d6
🔥 Remove deprecated methods
2015-09-25 12:58:23 +02:00
Antonio Scandurra
bded7e4fb0
💚
2015-09-25 12:04:25 +02:00
Antonio Scandurra
ce714b9852
🎨 Rename to ::onDidRequestAutoscroll
2015-09-25 10:57:09 +02:00
Antonio Scandurra
b0d70a63c6
Prevent default event for actions that won't lead to scrolling
2015-09-25 10:55:03 +02:00
Antonio Scandurra
0e72593a0c
Enforce a 'last scroll wins' model for batched scrolls
2015-09-25 10:43:20 +02:00
Antonio Scandurra
d65b5d1793
Revert "Maintain scroll history"
...
This reverts commit 2e6bb53303
.
2015-09-25 10:31:48 +02:00
Antonio Scandurra
2e6bb53303
Maintain scroll history
2015-09-24 16:25:58 +02:00
Antonio Scandurra
365a586466
Ensure realScroll... is up to date with scroll...
2015-09-24 15:16:40 +02:00
Antonio Scandurra
99e77dc09d
Port leftover specs from DisplayBuffer
2015-09-24 11:41:02 +02:00
Antonio Scandurra
1f81c633e0
Serialize state using logical coordinates
2015-09-24 09:01:51 +02:00
Max Brunsfeld
cd31f9506a
Install apm as apm-beta in beta version
2015-09-23 14:10:07 -07:00
Max Brunsfeld
a9531fc4dd
Install atom command as 'atom-beta' when using beta version
2015-09-23 14:10:07 -07:00
Antonio Scandurra
91ef57ed29
Merge branch 'master' into as-display-buffer-logical-coordinates
...
# Conflicts:
# src/display-buffer.coffee
2015-09-23 18:46:16 +02:00
Antonio Scandurra
36b0aa0126
🔥
2015-09-23 18:45:32 +02:00
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