367 Commits

Author SHA1 Message Date
Jerebtw
ee3f059812
crateModelUri to createModelUri (#289) 2021-09-28 16:15:18 +04:00
Sam Randall
5a308001a4
replace setModelMarkers with onDidChangeMarkers in onValidate useeffect (#244) v4.2.2 2021-08-07 12:26:25 +04:00
astj
9acaf635ca
Correct typo (#271) 2021-07-27 09:17:30 +04:00
Suren Atoyan
1a48728d3a update package version to 4.2.1 v4.2.1 2021-06-21 09:29:07 +04:00
Suren Atoyan
6b1d2abdab update @monaco-editor/loader version (v1.1.1) | set monaco-editor peerDependency version to >= 0.25.0 < 1 2021-06-21 09:26:36 +04:00
Suren Atoyan
421d0afb43 update snapshots 2021-06-21 09:25:16 +04:00
Suren Atoyan
b169e7da94 update package version to 4.2.0 v4.2.0 2021-06-13 00:28:54 +04:00
Suren Atoyan
ed66706a4f update demo examples 2021-06-13 00:25:44 +04:00
Suren Atoyan
4db5ff3f58 update @monaco-editor/loader package version to the latest one (v1.1.0) 2021-06-13 00:24:17 +04:00
Suren Atoyan
d73ec47f88 update test snapshots 2021-06-13 00:23:01 +04:00
Shubham Patil
a7d3b0f305
fix failing to apply demo editor settings (#254)
* fix failing to apply demo editor settings

* remove the prettier formatting

* remove unnecessary code
2021-06-08 23:07:42 +04:00
Brian Bancroft
f4962ff229
Correct typo in readme (#249)
Corrects a small typo in the readme file visible in npmjs
2021-05-25 09:22:23 +04:00
Suren Atoyan
dd9c771a9e update package version to 4.1.3 v4.1.3 2021-04-21 23:16:09 +04:00
Desmond Howard
dc91eee894
add keepCurrentOriginalModel and keepCurrentModifiedModel to type definition (#235) 2021-04-21 23:13:45 +04:00
Suren Atoyan
15518fc57c
add keepCurrentOriginalModel and keepCurrentModifiedModel properties; indicator whether to dispose the current original/modified model when the DiffEditor is unmounted or not (#230)
* update monaco-editor peerDependency to the lates one (0.23.0)

* add  and  properties; indicator whether to dispose the current original/modified model when the DiffEditor is unmounted or not

* add keepCurrentOriginalModel and keepCurrentModifiedModel props in props/DiffEditor

* update package version to 4.1.2
v4.1.2
2021-04-19 20:21:28 +04:00
Suren Atoyan
a41c3e7853 add an example for getting the values of DiffEditor v4.1.1 2021-04-02 20:13:25 +04:00
KoreSamuel
537b22481d
Add a demo that gets the DiffEditor's value (#206)
* Add a demo that gets the DiffEditor's value

* Add a codesandbox link
2021-04-02 20:07:34 +04:00
RoXoM
674556bd5d
feat: selection of modified model isn't first position after value change (#215) 2021-04-01 15:39:25 +04:00
Suren Atoyan
7d74039283 update package version to 4.1.0 v4.1.0 2021-03-18 11:54:04 +04:00
Suren Atoyan
0ed9451690 Merge branch 'master' of https://github.com/suren-atoyan/monaco-react 2021-03-18 11:51:44 +04:00
Suren Atoyan
f682f99eda update @monaco-editor/loader dependency to version 1.0.1 2021-03-18 11:51:32 +04:00
Suren Atoyan
d72fbf51c7 update snapshots 2021-03-18 11:50:46 +04:00
makeupsomething
9060282bdf
Fix type definition (#209)
Update the Theme type in the definition file
2021-03-18 00:14:41 +04:00
Suren Atoyan
8d2e7e71e9 update package version to 4.0.11 v4.0.11 2021-02-27 19:36:05 +04:00
Ardeshir81
1eb2d5b0b3
validate property line before passing it to revealLine (#188)
Co-authored-by: AIzadi <aizadi@amnafzar.ir>
2021-02-27 17:28:55 +04:00
Joel Hassan
ac1d2e9cd6
typo fix (#195) 2021-02-26 18:44:14 +04:00
Suren Atoyan
701ac7dd93 update package version to 4.0.10 v4.0.10 2021-02-16 18:09:59 +04:00
Ardeshir81
09cf20f66f
use revealLine for line update (#186)
Co-authored-by: AIzadi <aizadi@amnafzar.ir>
2021-02-16 18:05:24 +04:00
Suren Atoyan
3bdbb84b36 update package version to 4.0.9 v4.0.9 2021-01-29 15:57:07 +04:00
Suren Atoyan
ebf12b4541 save and restore current model view state, if keepCurrentModel is true 2021-01-29 15:56:00 +04:00
Suren Atoyan
8c69c59d13 update package version to 4.0.8 v4.0.8 2021-01-29 14:36:40 +04:00
Suren Atoyan
e599c2b03f add 'keepCurrentModel' property to the Editor component 2021-01-29 14:35:01 +04:00
Suren Atoyan
d19dedef5f highlight word README 2021-01-26 14:04:11 +04:00
Suren Atoyan
259029ab98 Merge branch 'master' of https://github.com/suren-atoyan/monaco-react 2021-01-26 14:01:35 +04:00
Suren Atoyan
5766bc4fd6 add old version README link 2021-01-26 14:00:49 +04:00
Limboer
d5990db3de
fix: fix v4 changes doc typo (#172) 2021-01-25 18:38:27 +04:00
Suren Atoyan
3bb305b9a7 update package version to 4.0.7 2021-01-21 04:09:38 +04:00
Suren Atoyan
66eaee13af fire onValidate unconditionally, always, with the current model markers 2021-01-21 04:08:08 +04:00
Suren Atoyan
558bc6bbd7 define themes directly 2021-01-19 20:45:07 +04:00
Suren Atoyan
9bc461a4c2 update demo (use v4) 2021-01-19 20:22:45 +04:00
Suren Atoyan
243218f02f update package version to 4.0.6 2021-01-19 20:15:35 +04:00
Suren Atoyan
5cbe9a4f9b remove and from 2021-01-19 20:14:50 +04:00
Suren Atoyan
9196d68842 add notes about multi-model related props 2021-01-19 18:02:42 +04:00
Suren Atoyan
ced60d4e35 clean up vite config file 2021-01-19 02:28:15 +04:00
Suren Atoyan
896609fc45 revert playground 2021-01-19 02:26:03 +04:00
Suren Atoyan
9ee83c8407 update package version to 4.0.5 v4.0.5 2021-01-19 01:09:30 +04:00
Suren Atoyan
2f0cb3699e remove from 2021-01-19 01:08:57 +04:00
Suren Atoyan
dc7425ab5f check if exists in utility function 2021-01-19 01:07:03 +04:00
Suren Atoyan
4e8f38b15c make all strings with double quotes 2021-01-19 00:00:49 +04:00
Suren Atoyan
830cd3a8fd resolve untracked files issue to fix .gitignore 2021-01-18 21:01:28 +04:00