Nathan Sobo
15ca3e2a40
Match existing editor's behavior for .cursor-line class
2014-06-28 15:39:22 +01:00
Nathan Sobo
ea9f5eb1c7
💄 Unify specs for all line decorations
2014-06-28 15:39:22 +01:00
Nathan Sobo
7f70b41696
Update the specs for .cursor/selection-line decorations
2014-06-28 15:39:22 +01:00
Nathan Sobo
9a6510c938
Add .cursor-line-no-selection decoration for backward compatibility
2014-06-28 15:39:22 +01:00
Nathan Sobo
825910dc1d
Add onlyEmpty and onlyNonEmpty decoration options
2014-06-28 15:39:22 +01:00
Nathan Sobo
bd238d6885
Add specs for gutter decoration options
...
- onlyHead
- onlyEmpty
- onlyNonEmpty
2014-06-28 15:39:22 +01:00
Nathan Sobo
8435e0176b
Add selection-line class to old editor gutter for forward-compatibility
...
The React editor does not apply the .cursor-line-no-selection class,
but instead relies on a combination of .cursor-line and .selection-line
for selectors that want to target the cursor line when there is no
selection.
This allows themes to be upgraded to support the React editor and the
old editor at the same time.
2014-06-28 15:39:21 +01:00
Nathan Sobo
5bdaf3cbe4
Make both .cursor-line and .selection-line opaque
2014-06-28 15:39:21 +01:00
Nathan Sobo
f5e54b0ba6
Only add 'selection-line' decoration when marker is non-empty
2014-06-28 15:39:21 +01:00
Nathan Sobo
fa7e388352
Add 'onlyEmpty' and 'onlyNonEmpty' decoration options
2014-06-28 15:39:21 +01:00
Nathan Sobo
70f352251e
Only apply cursor-line decoration to head; Add selected-line decoration.
...
The cursor-line decoration shouldn't be applied to every line that's
selected. It should only be applied to the location of the cursor. We'll
need to update themes to reflect this.
2014-06-28 15:39:21 +01:00
Nathan Sobo
1b05708d7a
Update addDecorationForMarker docs to talk about 'onlyHead' option
2014-06-28 15:39:21 +01:00
Nathan Sobo
a2b90cd501
Add 'onlyHead' option for decorations
...
It only decorates the head position of the decoration's marker.
2014-06-28 15:39:21 +01:00
Nathan Sobo
61c7e797b9
Upgrade markdown-preview to hopefully fix flaky spec
2014-06-28 15:38:59 +01:00
Nathan Sobo
71fb063a67
Un-f
2014-06-28 15:24:24 +01:00
Nathan Sobo
b376bd8688
Fix scrollbar dragging in React editor
...
Fixes #2751
2014-06-28 11:33:41 +01:00
probablycorey
a49221e359
Upgrade to language-go@v0.13.0
2014-06-27 10:32:14 -07:00
probablycorey
e7aef25f1f
Update tokenized buffer specs
2014-06-27 10:18:04 -07:00
probablycorey
071b391994
Describe surrogate pair as UTF-8 surrogate pair
2014-06-27 10:17:28 -07:00
probablycorey
d25f432400
Upgrade to tree-view@v0.108.0
2014-06-27 09:36:12 -07:00
probablycorey
2e16f2dc3f
Upgrade to first-mate@1.7.1
2014-06-27 09:31:19 -07:00
Kevin Sawicki
0f7b97821b
Upgrade ot markdown-preview@0.85
2014-06-27 12:44:20 +01:00
Kevin Sawicki
efa457bade
Upgrade to settings-view@0.129
2014-06-27 12:33:06 +01:00
Kevin Sawicki
61188cb05f
Upgrade to image-view@0.36
2014-06-27 09:42:26 +01:00
Kevin Sawicki
69c3001836
Upgrade to language-javascript@0.30
2014-06-27 09:35:01 +01:00
probablycorey
ccb01c23d2
💄 Add spacing between packages and languages packages
2014-06-26 11:53:37 -07:00
probablycorey
3bc50c9b2c
Upgrade to language-javascript@v0.29.0
2014-06-26 11:52:52 -07:00
probablycorey
18c5f9c8de
Upgrade to tree-view@0.107.0
2014-06-26 11:52:06 -07:00
Ben Ogle
7179bc5af1
Merge pull request #2738 from atom/bo-fix-max-scroll-width
...
Fix max scroll width in react editor
2014-06-25 18:16:32 -07:00
Nathan Sobo
3bf0c73170
Assign line width explicitly to prevent full screen repaints
...
Fixes #2746
2014-06-25 19:13:50 -06:00
Nathan Sobo
95242c8c82
Merge pull request #2747 from atom/ns-set-immediate
...
Use setImmediate instead of nextTick to batch React editor updates
2014-06-25 18:48:47 -06:00
Nathan Sobo
eb84737109
Fix specs for use of setImmediate instead of nextTick in requestUpdate
2014-06-25 18:38:06 -06:00
Nathan Sobo
2b54c9bebe
Use setImmediate to batch all editor updates, even in animation frames
...
When I was using nextTick to batch updates, there were issues with
flicker. So I was attempting to always update synchronously in animation
frames, which was complicated. setImmediate doesn't cause the flicker
however, so I'm able to remove the special logic for sync updates in
animation frames and just use it across the board.
2014-06-25 18:20:49 -06:00
Nathan Sobo
63e8099088
Allow successive accented characters to be inserted in React editor
...
Refs #2732
Because we're only checking the length of the input element's selection
in the React editor on textinput events and not also its content, we
were mistaking some IME compositions as accented character menu
insertions. Clearing the content of the input on 'compositionend'
prevents this issue.
2014-06-25 18:19:53 -06:00
Ben Ogle & Nathan Sobo
f739dce210
Only recompute scroll width once for each batch of measured chars
2014-06-25 15:26:13 -07:00
Ben Ogle & Nathan Sobo
77389b0518
Update scrollWidth when the max line length / default char width changes
2014-06-25 15:26:13 -07:00
Ben Ogle
809804d0cc
💄
2014-06-25 15:26:13 -07:00
Ben Ogle
8054b769d6
Default scrollWidth to 0
2014-06-25 15:26:13 -07:00
Ben Ogle
e3c3779a73
Don’t need to return the list. So just return
2014-06-25 15:26:13 -07:00
Ben Ogle
196f64d846
Fix specs
2014-06-25 15:26:13 -07:00
Ben Ogle
9cc1244f32
Compute the longest line width based on the longest line
2014-06-25 15:26:13 -07:00
Ben Ogle
1c69995bb6
Upgrade command-palette with better description
2014-06-25 15:04:26 -07:00
Kevin Sawicki
7c4cbd8bf9
Upgrade to open-on-github@0.29.0
2014-06-25 13:04:51 -07:00
probablycorey
570f59a7e2
Upgrade to tree-view@0.106.0
2014-06-25 10:06:33 -07:00
Nathan Sobo
8d71e3f69a
Merge pull request #2740 from atom/bo-round-scroll-vars
...
Never allow partial pixel values for scroll
2014-06-25 09:45:47 -06:00
Kevin Sawicki
0263d72551
Upgrade to language-gfm@0.42
2014-06-25 08:30:37 -07:00
Kevin Sawicki
9299ff3404
📝 Remove observeConfig
...
Replaced with subscribe/atom.config.observe
Closes #2742
2014-06-25 08:11:30 -07:00
Cheng Zhao
7c79643b89
Upgrade to atom-shell@0.13.3
2014-06-25 09:52:51 +08:00
Kevin Sawicki
6a4b4d2efd
Upgrade to language-gfm@0.41
2014-06-24 18:24:47 -07:00
Ben Ogle
d6f217f80a
Never allow partial pixel values for scroll
2014-06-24 18:09:03 -07:00