Nathan Sobo
253917f007
Make tooltip accept an item option instead of tooltipElement
...
...and use view registry to resolve it to a view when showing the tooltip.
Signed-off-by: Antonio Scandurra <as-cii@github.com >
2016-10-10 14:08:51 -06:00
Nathan Sobo
e9200e5bc0
WIP: Add ability to use custom elements inside tooltips
2016-10-10 14:08:51 -06:00
Antonio Scandurra
cccbde02fe
Merge branch 'master' into as-export-text-editor-ctor
2016-10-10 10:39:38 +02:00
Antonio Scandurra
3d2e18747f
Prefer using new TextEditor to Workspace.prototype.buildTextEditor
2016-10-10 09:28:36 +02:00
Antonio Scandurra
dbd7817823
Make TextEditor.prototype.scrollPastEnd false by default
2016-10-10 09:26:52 +02:00
Max Brunsfeld
1e3443e6c1
Avoid forcing computation of all screen lines when opening a file
2016-10-08 11:17:53 -07:00
Antonio Scandurra
18ddcf902b
Statically assign a clipboard instance to the TextEditor class
2016-10-07 18:21:09 +02:00
Antonio Scandurra
e4274e57ed
Include Atom version in deprecation message
2016-10-07 16:10:06 +02:00
Antonio Scandurra
901b0b17a3
Fix failing tests
2016-10-07 13:41:00 +02:00
Antonio Scandurra
07d56b23f0
Cache style sheet deprecated selectors transformations in StyleManager
2016-10-07 10:40:41 +02:00
Antonio Scandurra
4db895c731
Transform also more complex atom-text-editor selectors
2016-10-07 10:40:41 +02:00
Antonio Scandurra
1091b0eb60
Fix decorations flashing more than once
...
When, after flashing a decoration, the decorated range moved, Atom was
showing an additional flash, even if the previous one had already been
consumed. This bug originated in `HighlightsComponent`, where we
maintained state about a certain highlight's flash count. The problem
with this approach, however, is that highlight objects in the component
are very volatile, and we could even have more than one for a single
decoration (i.e. when such decoration spans multiple tiles).
To fix this, we'll now maintain some additional state in
`TextEditorPresenter`, which will set a `needsFlash` attribute on the
highlight state objects, thereby preventing `HighlightsComponent` from
showing the flash animation more than once when the decorated range
changes.
2016-10-07 10:40:41 +02:00
Antonio Scandurra
abef1f25f9
Exclude folded from deprecated syntax selectors
2016-10-07 10:40:41 +02:00
Antonio Scandurra
91df848b8a
Keep a backward compatible DOM structure for atom-text-editor contents
2016-10-07 10:40:41 +02:00
Antonio Scandurra
e94ea55d90
🎨
2016-10-07 10:40:41 +02:00
Antonio Scandurra
ae942b87ba
Put back missing comment that was accidentally deleted with decaf
2016-10-07 10:40:41 +02:00
Antonio Scandurra
9c5bddaa69
Reimplement block decorations without the shadow DOM
2016-10-07 10:40:41 +02:00
Antonio Scandurra
35e45ef472
Improve selector deprecation message
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-10-07 10:40:41 +02:00
Antonio Scandurra
3147a2ce3d
Fix wrong variable name causing style.width to be constantly re-assigned
2016-10-07 10:40:41 +02:00
Antonio Scandurra
8280fa9540
Rewrite LinesTileComponent in JavaScript
2016-10-07 10:40:41 +02:00
Antonio Scandurra
f8a89ed99a
Add backward compatible classes to TextEditorComponent's root node
2016-10-07 10:40:41 +02:00
Antonio Scandurra
895dbdfce2
Add StyleManager.prototype.{onDidUpdateDeprecations,getDeprecations}
2016-10-07 10:40:41 +02:00
Antonio Scandurra
80fc448b8d
Transform deprecated shadow DOM selectors in StyleManager
2016-10-07 10:40:41 +02:00
Antonio Scandurra
92a3c2f4b2
Use a more accurate list for deprecated-syntax-selectors.js
2016-10-07 10:40:41 +02:00
Antonio Scandurra
712e91b03c
Convert StyleManager to JavaScript
2016-10-07 10:40:41 +02:00
Antonio Scandurra
ad39693719
🎨
2016-10-07 10:40:41 +02:00
Antonio Scandurra
93512ba174
Add deprecated syntax selectors
2016-10-07 10:40:41 +02:00
Antonio Scandurra
2d553fae12
Return scopes prepended with --syntax from TokenizedBufferIterator
2016-10-07 10:40:41 +02:00
Antonio Scandurra
853130f581
Rewrite TokenizedBufferIterator in js
2016-10-07 10:40:41 +02:00
Antonio Scandurra
b71b412ede
Transform deprecated shadow DOM selectors
2016-10-07 10:40:41 +02:00
Antonio Scandurra
56a6510b25
Start on removing shadow DOM
2016-10-07 10:40:41 +02:00
Matthew Dapena-Tretter
f1be4f057e
Add methods for checking if initial packages have been loaded/activated
...
This will allow packages to observe the state without having to worry
about subscribing to the events after they've already fired.
Originally suggested in #10839
2016-10-06 15:36:28 -07:00
Max Brunsfeld
26abbbd7cb
Merge pull request #12883 from atom/mb-fix-maintain-grammar-return-value
...
Always return Disposable from maintain{Config,Grammar}
2016-10-05 12:49:02 -07:00
Max Brunsfeld
e6cac10a23
Always return Disposable from maintain{Config,Grammar}
2016-10-05 12:03:53 -07:00
Damien Guard
1a97f97a54
Specs runner dev tools should also be ctrl-shift-i on Linux/Windows
2016-10-04 15:26:24 -07:00
Indrek Ardel
fd1e060592
Use inline source maps for coffeescript
2016-09-30 15:03:04 +03:00
Max Brunsfeld
d79690e2d5
Merge pull request #12823 from atom/mb-as-guard-tab-length
...
Guard against null tab length value
2016-09-29 14:21:54 -07:00
Wliu
0e99232615
Merge pull request #12782 from Ingramz/remove-unused-variables-obvious
...
Remove unused variables (obvious ones)
2016-09-29 16:58:06 -04:00
Max Brunsfeld
28975fba81
Merge pull request #12780 from Ingramz/update-coffee-script
...
Update coffee-script to 1.11.0
2016-09-29 13:53:02 -07:00
Max Brunsfeld
814817ae4f
Merge pull request #12824 from atom/mb-as-fix-window-method-calls-in-specs
...
Fix uses of `call-window-method` IPC channel in specs
2016-09-29 13:15:10 -07:00
Damien Guard
04b4c3ac9f
Merge pull request #12821 from atom/dg-win-allow-multiple-user-instances
...
Allow Atom on Windows to run multiple instances e.g. on Windows server
2016-09-29 12:39:39 -07:00
Max Brunsfeld
51a2360a9b
Fix uses of call-window-method IPC channel in specs
2016-09-29 12:13:24 -07:00
Damien Guard
8f7f812988
Merge pull request #10748 from atom/ld-glob-link
...
Add link to article on glob patterns
2016-09-29 12:10:51 -07:00
Max Brunsfeld
556d79b544
Guard against null tab length value
...
Signed-off-by: Antonio Scandurra <as-cii@github.com >
2016-09-29 12:01:39 -07:00
Wliu
85cc4e1312
Merge pull request #12822 from philschatz/documentation-for-indentationForBufferRow
...
Fixes documentation for TextEditor::indentationForBufferRow()
2016-09-29 14:56:21 -04:00
Philip Schatz
a7d30abdcf
🐛 documentation for TextEditor::indentLevelForLine
...
[ci skip]
2016-09-29 14:47:29 -04:00
Philip Schatz
3d22829104
🐛 documentation for TextEditor::indentationForBufferRow()
2016-09-29 14:23:17 -04:00
Philip Schatz
72110ed40f
fixup! 🐛 support variable terminal widths
2016-09-29 13:58:47 -04:00
Damien Guard
2cf2dcca57
Allow Atom on Windows to run multiple instances e.g. on Windows server/Citrix etc
2016-09-29 09:55:34 -07:00
Philip Schatz
7bbc0d12eb
🐛 support variable terminal widths
2016-09-27 14:25:45 -04:00