Corey Johnson
|
f4b7f86eb0
|
Revert "Remove editor-colors class from lines component"
This reverts commit 8cca198af1.
|
2014-06-11 10:02:16 -07:00 |
|
Corey Johnson
|
8cca198af1
|
Remove editor-colors class from lines component
|
2014-06-11 09:53:56 -07:00 |
|
Corey Johnson
|
4f77a371f4
|
Merge pull request #2497 from atom/cj-add-react-editor-shims
Add shims to the React View Editor
|
2014-06-11 09:06:40 -07:00 |
|
Corey Johnson
|
94dd1eed54
|
Merge remote-tracking branch 'origin/master' into cj-add-react-editor-shims
Conflicts:
src/editor-component.coffee
|
2014-06-11 08:56:27 -07:00 |
|
Ben Ogle
|
09b91974a7
|
Fix casing on Grim import
|
2014-06-11 08:52:36 -07:00 |
|
Nathan Sobo
|
99611fad34
|
Give React editor lines and line numbers an opaque background
This ensures subpixel antialiasing works correctly. It was previously
present on both of these components but got dropped accidentally.
|
2014-06-11 08:51:19 -06:00 |
|
Nathan Sobo
|
1b026cc805
|
Set is-focused class on React editor's wrapper view for now
|
2014-06-11 08:37:16 -06:00 |
|
Nathan Sobo
|
b73d267a5f
|
Merge branch 'master' into cj-add-react-editor-shims
|
2014-06-11 07:34:41 -06:00 |
|
Nathan Sobo
|
5add0e4f70
|
Don't forceUpdate in setImmediate callback if editor is unmounted
This was throwing errors in the EditorComponent spec.
/cc @benogle, just so you're aware
|
2014-06-11 07:21:05 -06:00 |
|
Nathan Sobo
|
7040906473
|
Ignore null bytes when measuring character widths in React editor
Fixes #2391
|
2014-06-11 07:18:52 -06:00 |
|
Nathan Sobo
|
131aad24c0
|
Merge branch 'master' into cj-add-react-editor-shims
|
2014-06-11 06:48:16 -06:00 |
|
Nathan Sobo
|
64870c733b
|
Add API for enabling/disabling input to support vim-mode's insert mode
|
2014-06-11 06:07:41 -06:00 |
|
Nathan Sobo
|
68ca6a0a0d
|
Merge pull request #2532 from karlin/select-paragraphs
Adds select-to-beginning-of-next/previous-paragraph commands
|
2014-06-11 05:39:30 -06:00 |
|
probablycorey
|
9e7e77bdf8
|
Merge remote-tracking branch 'origin/master' into cj-add-react-editor-shims
Conflicts:
src/gutter-component.coffee
|
2014-06-10 15:42:23 -07:00 |
|
probablycorey
|
d0385a90ea
|
Revert "Use ReactEditorView in the workspace view spec"
This reverts commit b46ac9080c.
|
2014-06-10 15:37:49 -07:00 |
|
probablycorey
|
f9c4af301d
|
Shim scrollView outlet
|
2014-06-10 15:19:54 -07:00 |
|
Nathan Sobo
|
562a047b9e
|
Only requestUpdate when scrolling stops if component is still mounted
Fixes #2566
|
2014-06-10 12:13:57 -06:00 |
|
probablycorey
|
b46ac9080c
|
Use ReactEditorView in the workspace view spec
|
2014-06-09 17:35:44 -07:00 |
|
Corey Johnson
|
a227ed7586
|
Add toggleSoftWrap and toggleSoftTabs
|
2014-06-09 16:10:29 -07:00 |
|
Corey Johnson
|
0396aac11f
|
Add several setter shims to ReactEditorView
|
2014-06-09 16:03:20 -07:00 |
|
Ben Ogle
|
5db163a328
|
💄
|
2014-06-09 16:01:29 -07:00 |
|
Ben Ogle
|
756347a716
|
Add has-selection class to the editor div when there is a selection
|
2014-06-09 15:45:32 -07:00 |
|
Corey Johnson
|
7379627fcb
|
Add several scroll shims to ReactEditorView
|
2014-06-09 15:37:02 -07:00 |
|
Corey Johnson
|
a2c4caf7ad
|
Move scroll methods below afterAttach method
|
2014-06-09 15:14:48 -07:00 |
|
Corey Johnson
|
e8b6fb919e
|
Add shim for ReactEditorView::redraw
|
2014-06-09 15:06:49 -07:00 |
|
Corey Johnson
|
601c877136
|
Add pageDown/pageUp to ReactEditorView
|
2014-06-09 14:46:47 -07:00 |
|
Ben Ogle
|
6c609cb7d2
|
Revert "Move setImmediate into requestUpdate; Batch updates"
This reverts commit ad522e6ab1.
|
2014-06-09 14:45:43 -07:00 |
|
Corey Johnson
|
31d7110bba
|
Remove getPageRows from API
|
2014-06-09 14:42:47 -07:00 |
|
Ben Ogle
|
ad522e6ab1
|
Move setImmediate into requestUpdate; Batch updates
|
2014-06-09 14:40:59 -07:00 |
|
Ben Ogle
|
e59f242f19
|
Move click gutter into the GutterComponent
|
2014-06-09 14:11:41 -07:00 |
|
Ben Ogle
|
31b4b7a372
|
Speed up decoration removal and use less temp objects.
|
2014-06-09 14:04:24 -07:00 |
|
Ben Ogle
|
1a1ed56419
|
Oh man. Render only once!
|
2014-06-09 14:04:24 -07:00 |
|
Ben Ogle
|
13be8d5139
|
Add a cursor-line decoration to the gutter
|
2014-06-09 14:04:24 -07:00 |
|
Ben Ogle
|
312901ff68
|
Use decorations for folds.
They are more efficient when re-rendering.
|
2014-06-09 14:04:24 -07:00 |
|
Ben Ogle
|
346b6007ca
|
Allow for typeless decorations that apply to everything
If you are querying for `type: ‘gutter’` it will return the typeless
decorations as well.
|
2014-06-09 14:04:24 -07:00 |
|
Ben Ogle
|
f30641da44
|
💄 Remove log line.
|
2014-06-09 14:04:23 -07:00 |
|
Ben Ogle
|
049531e495
|
Add comment
|
2014-06-09 14:04:23 -07:00 |
|
Ben Ogle
|
e8594ccec4
|
💄 Change var names for consistency
|
2014-06-09 14:04:23 -07:00 |
|
Ben Ogle
|
65ab436da2
|
API docs
|
2014-06-09 14:04:23 -07:00 |
|
Ben Ogle
|
e7bd8026d2
|
Deprecate old class functions
|
2014-06-09 14:04:23 -07:00 |
|
Ben Ogle
|
8e1e5a3760
|
Add ability to click the fold icons
|
2014-06-09 14:04:23 -07:00 |
|
Ben Ogle
|
02594e3f7a
|
💄 Use for loops
|
2014-06-09 14:04:23 -07:00 |
|
Ben Ogle
|
da5bf6c74c
|
Defensive on the decorations
|
2014-06-09 14:04:23 -07:00 |
|
Ben Ogle
|
5cd8f5952f
|
Make editor push decorator updates to the gutter
|
2014-06-09 14:04:23 -07:00 |
|
Ben Ogle
|
1b8be75a76
|
Add specs for the editor interface
for decorations in ranges and associated with markers
|
2014-06-09 14:04:23 -07:00 |
|
Ben Ogle
|
a13990155f
|
Use setImmediate rather than setTimeout
|
2014-06-09 14:04:23 -07:00 |
|
Ben Ogle
|
a72f11594d
|
💄 remove decoratorType instance var
|
2014-06-09 14:04:23 -07:00 |
|
Ben Ogle
|
86d7a45a78
|
Remove the comment about overlap
Turns out it’s already dealing with overlap by not emitting events
when there is an overlap.
|
2014-06-09 14:04:22 -07:00 |
|
Ben Ogle
|
a229d696d5
|
Add addDecorationForBufferRowRange and related remove
|
2014-06-09 14:04:22 -07:00 |
|
Ben Ogle
|
ef6ca3853d
|
💄
|
2014-06-09 14:04:22 -07:00 |
|