Commit Graph

12958 Commits

Author SHA1 Message Date
Antonio Scandurra
270334b713 Adjust pixelRectForScreenRange to return absolute values 2015-09-24 11:30:46 +02:00
Antonio Scandurra
19ca87f79f 💚 Fix specs 2015-09-24 11:27:54 +02:00
Antonio Scandurra
535a9da946 wip 2015-09-24 11:21:26 +02:00
Antonio Scandurra
a137e50857 Merge pull request #8895 from atom/as-undefined-offset-height
Allow null TextEditorComponent::domNode during visibility check
2015-09-24 10:33:44 +02:00
Antonio Scandurra
3236c8f0f8 Let's start with deprecations! 2015-09-24 10:07:38 +02:00
Antonio Scandurra
c76525fc63 Restore scroll position after we have pixel position requirements 2015-09-24 10:01:11 +02:00
Antonio Scandurra
6673c892d5 Remove references to TextEditor::scroll... 2015-09-24 09:15:10 +02:00
Antonio Scandurra
1f81c633e0 Serialize state using logical coordinates 2015-09-24 09:01:51 +02:00
Antonio Scandurra
89fea629c6 Merge branch 'master' into as-display-buffer-logical-coordinates 2015-09-24 08:28:35 +02:00
Max Brunsfeld
a97029c3d2 Merge pull request #8721 from scv119/autoupdate
Add --no-auto-update while run `scripts/build` to disable autoupdate
2015-09-23 17:31:52 -07: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
4ffeb68403 Ensure domNode is not set arbitrarily to null 2015-09-23 19:01:57 +02:00
Antonio Scandurra
6f120de1a6 Bring back the visible row range API 2015-09-23 18:52:04 +02: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
Nathan Sobo
0a67cb9729 Merge pull request #8682 from atom/tj-remove-deprecations
Remove deprecated code
2015-09-23 10:41:26 -06:00
Nathan Sobo
50ce1c4afc Guard against undefined state in Workspace.deserialize 2015-09-23 10:16:59 -06:00
Antonio Scandurra
2112b0a302 🔥 Remove unused method 2015-09-23 17:49:41 +02:00
Antonio Scandurra
e85f61cced Continue emitting events when setting scroll top in the model 2015-09-23 17:43:53 +02:00
Antonio Scandurra
baf27bf99a Preserve un-rounded scroll positions 2015-09-23 17:40:48 +02:00
Antonio Scandurra
7666e4b82e Commit pending positions when a frame is being served 2015-09-23 16:48:00 +02:00
Antonio Scandurra
87c7a0ae30 💚 Fix some TextEditorComponent specs 2015-09-23 16:25:50 +02:00
Antonio Scandurra
870a5303e1 🔥 Remove unused code 2015-09-23 15:34:45 +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
140624326a Report the already calculated width to the model 2015-09-23 15:34:44 +02:00
Antonio Scandurra
abd1b05c65 Report the already calculated height to the model 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
fda981ed1d 🔥 Remove absolute scrolling from DisplayBuffer 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
4136c195c9 Port .scrollToCursorPosition() specs 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
e526ceae6d Update scroll top on ::getState 2015-09-23 15:34:22 +02:00
Antonio Scandurra
ddd7aacd9d 💚 Fix TextEditorComponent specs 2015-09-23 15:34:22 +02:00
Antonio Scandurra
e3dabd5200 Move scroll margin into TextEditorPresenter 2015-09-23 15:34:22 +02:00
Antonio Scandurra
75f6c29760 Merge branch 'master' into as-display-buffer-logical-coordinates 2015-09-23 15:34:21 +02:00
Luke Pommersheim
1b07093cff update comments 2015-09-23 11:01:49 +02:00
Luke Pommersheim
6697693d57 Merge remote-tracking branch 'upstream/master' into move-lines-up-and-down-with-multiple-selections 2015-09-23 08:38:37 +02:00
Ross Allen
59ba793d64 Use lowercase 'optional' keyword used by docs
The docs generator expects 'optional' starting with a lowercase 'o' to
mark arguments as optional. Lowercase 'O' to properly generate the docs.
2015-09-22 14:10:05 -07:00
Antonio Scandurra
620e87420b Allow null TextEditorComponent::domNode during visibility check
* Use `atom.assert` to verify that the ctor was run before the exception.
2015-09-22 21:18:55 +02:00
Chen Shen
1900f766e7 Add --no-autoupdate while run scripts/build to disable autoupdate 2015-09-22 11:34:08 -07:00
Nathan Sobo
3d4ed37f81 Don’t use Serializable mixin in Workspace 2015-09-22 10:55:52 -06:00
Nathan Sobo
d997c80d31 Don’t use Serializable mixin in Project 2015-09-22 10:50:11 -06:00
Nathan Sobo
17b4725b44 Don’t use Serializable mixin in PaneContainer 2015-09-22 10:46:30 -06:00
Nathan Sobo
8ce0e6141f Don’t use Serializable mixin in PaneAxis 2015-09-22 10:38:37 -06:00
Nathan Sobo
b3b7b3f3dd Don’t use Serializable mixin in Pane 2015-09-22 10:37:15 -06:00