Alex Dima
f9f3333b2a
Fixes #40485
2018-01-10 18:00:46 +01:00
Alex Dima
54e7055c12
Rename IModel to ITextModel
2018-01-04 16:44:40 +02:00
Alex Dima
0721df783d
Extract model types out of editorCommon.ts
2018-01-04 16:27:58 +02:00
Alex Dima
059ead3c7b
Rename Model to TextModel
2018-01-04 11:40:44 +02:00
Alex Dima
725d2fa1db
Merge Model and TextModelWithDecorations
2018-01-03 18:41:02 +02:00
Alex Dima
12396ea083
Fixes #40271 : Compute visible line widths when restoring the scroll position
2017-12-19 09:43:45 +01:00
Alex Dima
4fed11f880
Remove unused code ( #38414 )
2017-11-17 20:15:48 +01:00
Alex Dima
d6cc5feffd
Reduce usage of EventEmitter ( #38417 )
2017-11-17 16:03:10 +01:00
Alex Dima
05d1ec3ce2
Reduce usages of IModel.addBulkListener ( #38417 )
2017-11-16 16:01:23 +01:00
Alex Dima
82b13bc9e3
Remove ICommonCodeEditor ( #37834 )
2017-11-10 20:47:29 +01:00
Alex Dima
e499dc62b5
Reduce usages of ICommonCodeEditor ( #37834 )
2017-11-10 10:08:39 +01:00
Alex Dima
54ede1826f
Consolidate EditorExtensionsRegistry ( #37834 )
2017-11-09 11:56:32 +01:00
Alex Dima
8bc62f0c0f
Reduce usage of ICommonCodeEditor ( #37834 )
2017-11-08 18:27:19 +01:00
Alex Dima
7747dfe54d
Remove @ts-ignore ( #37212 )
2017-11-08 17:10:07 +01:00
Benjamin Pasero
4ec5250582
promise: make sure as() returns promise like and fix errors
2017-11-08 12:33:48 +01:00
Erich Gamma
c536efdfbc
Enabled the noUnusedLocals and added @tsignore
2017-11-07 13:13:41 +01:00
Alex Dima
324650128e
Add fast path for vscode.TextEditor.setDecorations
2017-10-16 22:48:45 +02:00
kieferrm
08d8f0f9f6
indentation changes
2017-09-25 18:36:43 -07:00
kieferrm
c180bda91e
inline values
2017-09-25 18:36:43 -07:00
Alexandru Dima
11e34ce119
Merge pull request #33981 from nicksnyder/patch-2
...
Use unused param
2017-09-22 12:53:43 +02:00
Martin Aeschlimann
e129b2c7df
update bracket matching on language configuration change
2017-09-20 21:31:28 +02:00
Martin Aeschlimann
c2a6d7ae1f
add IModelLanguageConfigurationChangedEvent and ViewLanguageConfigurationEvent
2017-09-20 11:09:42 +02:00
isidor
250d71b2b9
alex: first remove decoration types and only then fire a model change event
2017-09-20 11:05:06 +02:00
Nick Snyder
94d82edee0
Use unused param
2017-09-07 19:37:46 -07:00
Alex Dima
e070afceab
Editor: reveal* family of methods take a ScrollType which can be Smooth or Immediate
2017-08-30 16:18:21 +02:00
Alex Dima
ac99d55006
* switch to using ease-out-cubic in smooth scrolling
...
* use `dom.scheduleAtNextAnimationFrame`
2017-08-22 12:45:57 +02:00
Alex Dima
90377a73d4
* separate scroll dimensions and scroll positions
...
* have explicit methods for changing the scroll position (delayed/smooth vs now/direct) that bubble up to the editor internals.
* have all other clients of ScrollableElement not use smooth scrolling
2017-08-21 18:25:03 +02:00
Alex Dima
a0cf115d01
Fixes #28694 : Call conf.setMaxLineNumber before using the computed layout info
2017-06-16 09:20:08 +02:00
Benjamin Pasero
a9486e406f
linting: convert double quote imports to single quote
2017-05-26 09:27:46 +02:00
Alex Dima
94c647f246
Simplification in cursor eventing
2017-05-22 16:50:38 +02:00
Alex Dima
0e3d227c38
Cursor fires a single state change event containing both position & selection change details ( #26730 )
2017-05-21 19:24:51 +02:00
Alex Dima
2b0bb05726
Fixes #26251 : Update cursor's view position when view model line mapping changes
2017-05-19 16:29:38 +02:00
Alex Dima
dcbe78a124
The cursor gets passed in the ViewModel
2017-05-19 16:29:38 +02:00
Alex Dima
cc38e4eabb
Move more editing operations out of cursor.ts
2017-05-19 00:41:56 +02:00
Alex Dima
5a40238c40
Move LineInsertBefore out of the cursor
2017-05-19 00:41:56 +02:00
Alex Dima
12738e3e0d
Clarify editor API
2017-05-19 00:41:56 +02:00
Alex Dima
7a15a509d0
Remove browser.enableEmptySelectionClipboard
2017-05-18 11:21:20 +02:00
Alex Dima
3e8103ceec
Simplify cursor creation
2017-05-18 11:21:20 +02:00
Alex Dima
aae591bd9e
Move ViewModelCursors out of the ViewModel
2017-05-18 10:06:17 +02:00
Alex Dima
8485cb6e4d
Simplifications post moving viewLayout into viewModel
2017-05-10 00:31:12 +02:00
Alex Dima
28f70d5116
Simplify view model event handling
2017-05-09 17:43:03 +02:00
Alex Dima
ed52cdd5c3
Move default option values to editorOptions.ts
2017-05-08 22:48:13 +02:00
Alex Dima
4aa5aa4e84
Move editor options related code to editorOptions.ts
2017-05-08 22:44:56 +02:00
Benjamin Pasero
b34f17350f
Un-allowed double quoted imports (for #25451 )
2017-04-26 19:13:12 +02:00
Alex Dima
2f76f54054
Move more core commands out
2017-04-25 18:42:07 +02:00
Alex Dima
0840d28d7d
Begin moving cursor core ops out
2017-04-25 18:42:06 +02:00
Alex Dima
0d6b9c7148
Move common types out of oneCursor
2017-04-21 18:32:30 +03:00
Alex Dima
39608c5cb2
EditorScroll: Get rid of cursor -> view -> cursor recursion
2017-04-21 00:36:36 +03:00
Alex Dima
17b8819f9b
EditorScroll: Get rid of cursor -> view -> cursor recursion
2017-04-21 00:36:36 +03:00
Alex Dima
98beb5d68e
EditorScroll: bring related code together
2017-04-21 00:36:36 +03:00