Commit Graph
32 Commits
Author SHA1 Message Date
rebornix e66547a1d9 ensure the editor has enough top padding when there is decoration ::after: { top } 2020-11-23 15:37:28 -08:00
Matt Bierner cadabab73f Mark _serviceBrand properties using declare (#99312)
_serviceBrand is only used for typing and should not result in emit

Also adds readonly
2020-06-05 11:04:15 -07:00
Alex Dima 8ce2d77be3 Fixes #99027: Add support for storing properties that survive text buffer diposing 2020-06-04 21:55:33 +02:00
Benjamin Pasero a03ea07917 editors - include editor in name for inputs to make things clear 2020-03-03 11:44:46 +01:00
Alex Dima c201d89e6a Create local style sheets if the editor is in a shadow DOM 2020-01-19 21:40:52 +01:00
Benjamin Pasero 7ce5fe0d8e Preserve word wrap state in target file when saving untitled file (fix #33840) 2020-01-18 15:34:48 +01:00
Alexandru Dima a38ca5b537 Revert "Use null instead of undefined for openCodeEditor"
Revert "`getActiveCodeEditor` should return undefined instead of null"
Revert "Make `getFocusedCodeEditor` return undefined instead of null"

This reverts commit db11576dbc.
This reverts commit 0fdba0997c.
This reverts commit b18ef0e734
2019-10-18 16:01:48 +02:00
Matt Bierner 1f4ef6a0ca Marking return values readonly 2019-09-19 17:42:51 -07:00
Matt Bierner db11576dbc Use null instead of undefined for openCodeEditor
#70384
2019-09-19 17:38:07 -07:00
Matt Bierner 0fdba0997c getActiveCodeEditor should return undefined instead of null
#70384
2019-09-19 17:28:03 -07:00
Matt Bierner b18ef0e734 Make getFocusedCodeEditor return undefined instead of null
#70384
2019-09-19 17:23:38 -07:00
Johannes Rieken dedf0de944 change type of _serviceBrand from any to undefined, #79918 2019-08-30 15:40:46 +02:00
Johannes Rieken 653280d133 debt - Thenable -> Promise 2018-12-13 11:31:54 +01:00
Alex Dima 17454d4e88 Organize imports 2018-10-23 09:54:11 +02:00
Alex Dima 1e2b78d601 strict null checks (#60565) 2018-10-13 01:22:15 +02:00
Alex Dima 9a2bacc635 strict null checks (#60565) 2018-10-13 00:05:14 +02:00
Alex Dima 26e3925377 strict null checks (#60565) 2018-10-12 11:57:16 +02:00
Johannes Rieken 427663d35f debt - less TPromise usage 2018-10-03 11:59:43 +02:00
Matt Bierner 8087b0a8d8 Remove use strict directives in main vs code ts files (part 2)
We compile using the alwaysStrict flag so these directives are not needed

This part removes most `use strict` directives that are right after the file header
2018-10-02 16:11:05 -07:00
Alex Dima 5ee3996bac Fixes #56899 2018-09-12 13:58:54 +02:00
Benjamin Pasero 8cb8c02410 grid - cleanup getCodeEditor() 2018-05-18 09:54:14 +02:00
Benjamin Pasero 8bb9ce0caf grid - some cleanup 2018-05-18 09:16:33 +02:00
Benjamin Pasero 6a13b5264d grid - make code editor service proper (standalone) 2018-05-17 11:17:03 +02:00
Benjamin Pasero cf77b6ea97 grid - fold texteditor service into codeeditor service 2018-05-17 08:01:05 +02:00
Benjamin Pasero c460ac4787 grid - make platform editor service specific for code editors 2018-05-16 12:08:29 +02:00
Matt Bierner 81767beaca Make Event a named export
There are many places in the code that do `import Event, { ...} from '.../event'`.
2018-03-14 14:25:30 -07: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 4fed11f880 Remove unused code (#38414) 2017-11-17 20:15:48 +01:00
Alex Dima 9f597f9555 Remove unused code (#38414) 2017-11-15 16:22:15 +01:00
Alex Dima e499dc62b5 Reduce usages of ICommonCodeEditor (#37834) 2017-11-10 10:08:39 +01:00
Alex Dima aa14fc5914 Bring ICodeEditorService to /browser/ (#37834) 2017-11-09 12:29:14 +01:00