Commit Graph

45 Commits

Author SHA1 Message Date
Nathan Sobo
0243a345b7 Merge branch 'master' into ns-use-display-layers 2016-02-09 12:42:57 -07:00
Nathan Sobo
caf6d7f473 Use DisplayMarkerLayers
I’m creating the DisplayLayer in the DisplayBuffer. In places where our
API deviates from DisplayBuffer, I’ll use the DisplayLayer directly from
as a property of TextEditor. Otherwise I’ll continue to delegate from
the DisplayLayer into the DisplayLayer to minimize impact until the
DisplayBuffer can be removed entirely.
2016-01-13 12:17:01 -07:00
Antonio Scandurra
b998e7f2d9 🐎 Incremental updates for block decorations 2015-11-30 14:03:45 +01:00
Nathan Sobo
b1a5b58fa2 Rename Marker to TextEditorMarker to resolve ambiguity w/ TextBuffer API
We expose both kinds of markers in Atom, and the docs were actually
wrong when we refer to Markers from TextBuffer because it linked to the
TextEditor layer’s Marker implementation. This will clarify the
difference.
2015-11-09 00:35:30 -07:00
Nathan Sobo
3a25fe4975 Remove id from decoration properties
It doesn’t make sense to include this when we’ll reuse the same
properties for multiple decoration instances when decorating marker
layers.
2015-11-09 00:35:27 -07:00
Nathan Sobo
92ed7c8b15 Don’t return Decoration objects from model to view
Preparation for LayerDecorations, in which individual decoration objects
won’t exist for every marker.
2015-11-09 00:35:27 -07:00
Max Brunsfeld
cdaac9dfcc wip 2015-11-09 00:35:18 -07:00
Thomas Johansen
d3c5671cb9 🔥 Remove deprecations from Decorator 2015-09-22 10:37:06 -06:00
Max Brunsfeld
b80c480d86 Store overlay decorations to optimize ::getOverlayDecorations() 2015-06-04 10:27:36 -07:00
Ivan Zuzak
b2dd8835b3 Remove extra function wrapper 2015-05-12 12:54:15 +02:00
Jess Lin
58d6712b0e [Gutter] Augment Decoration to discern the line-number gutter from custom gutters 2015-04-22 07:28:57 -07:00
Machiste Quintana
5d2392ea67 👕 Fix new coffeelint errors 2015-04-06 23:59:54 -04:00
Kevin Sawicki
7d592c8b78 includeDeprecations -> includeDeprecatedAPIs 2015-04-03 11:29:16 -07:00
Kevin Sawicki
23d1c72a5f Remove unused imports 2015-04-03 11:29:14 -07:00
Kevin Sawicki
8e56a252e0 Only call emit when deprecations are included 2015-04-03 11:29:13 -07:00
Kevin Sawicki
2d9eaa5c75 Conditionally include deprecations in Decoration 2015-04-03 11:29:11 -07:00
Mert Kahyaoğlu
93e4b061fa minor changes in decoration.coffee 2015-04-01 16:39:51 +03:00
Nathan Sobo
4a74d4adba Avoid decoration queries when updating individual highlight decorations 2015-02-03 15:05:42 -07:00
Nathan Sobo
8c574bfd30 Rename 'gutter' decorations to 'line-number' decorations 2015-01-14 19:49:46 -07:00
Ben Ogle
683d0d1b16 Editor -> TextEditor 2014-09-25 15:14:29 -07:00
Ben Ogle
7632e5dd40 Reorg decoration 2014-09-18 17:24:24 -07:00
Ben Ogle
e01d96862f Update docs in decoration 2014-09-16 10:51:34 -07:00
Ben Ogle
f8b17b6b3c Add Returns line to all the event subscription methods 2014-09-10 17:07:21 -07:00
Ben Ogle
2e219f288d Add sections for docs clarity 2014-09-09 15:55:47 -07:00
Ben Ogle
ab96e5b5fd 💄 Fix doc string 2014-09-09 13:58:01 -07:00
Ben Ogle
2a02375c4d Move the Decoration events to an events section 2014-09-09 12:31:01 -07:00
Ben Ogle
72be16736c isDestroyed -> destroyed 2014-09-09 10:58:12 -07:00
Ben Ogle
47ef54a072 Subscribe directly to the decoration destroy for removal 2014-09-05 16:53:35 -07:00
Ben Ogle
7ae25d34e7 Decoration Params -> Properties 2014-09-05 16:20:42 -07:00
Ben Ogle
e6e6028683 Deprecate decoration events 2014-09-05 15:14:27 -07:00
Ben Ogle
569c403d56 Update the events on decorations 2014-09-05 12:08:35 -07:00
Ben Ogle
ad4f464d7c Fix Decoration events 2014-08-25 15:13:45 -07:00
Ben Ogle
5a51d3a0c9 Fix indentation 2014-08-25 15:08:46 -07:00
Ben Ogle
d79eb8eed3 Update decoration docs 2014-08-25 15:08:46 -07:00
Desmond Brand
3d53749771 Fix typo in event trigger
destoryed -> destroyed
2014-07-21 00:20:39 -07:00
Kevin Sawicki
41c8878769 📝 Add missing : 2014-07-11 13:30:30 -07:00
Ben Ogle
8013ff7775 Update decoration API docs 2014-07-09 18:16:20 -07:00
Ben Ogle
540b038ced Add is destroyed flag to decoration 2014-07-07 17:48:40 -07:00
Ben Ogle
d7a3ffa9de Handle Decoration::update 2014-07-07 15:13:04 -07:00
Ben Ogle
e991b3d10c Move from addDecoration -> decorateMarker 2014-07-07 14:43:56 -07:00
Ben Ogle
fe9fec733d Stub out Decoration::destroy and Decoration::update 2014-07-07 14:19:20 -07:00
Ben Ogle
e5f800ef35 💄 2014-07-03 17:32:38 -07:00
Ben Ogle
abbe8d2eec Flash works for selections 2014-07-03 17:32:37 -07:00
Ben Ogle
bf33d96899 Decorations can be flashed 2014-07-03 17:32:37 -07:00
Ben Ogle
80eb31679f Add a Decoration object. Rework to use this object 2014-07-03 17:32:37 -07:00