File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ It also includes some tools allowing to add some missing features to monaco-edit
12
12
- ` lockCodeWithDecoration ` allows to make read-only code parts within a specific decoration
13
13
- ` lockCodeWithoutDecoration ` allows to make read-only code parts outside of a specific decoration
14
14
- ` updateEditorKeybindingsMode ` allows to apply vim or emacs keybindings
15
- - ` extractRangesFromTokens ` allows to extract a code section between 2 tokens
15
+ - ` extractRangesFromTokens ` allows to extract the code sections between a start token and an end token
16
16
17
17
### Installation
18
18
Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ function lockCodeUsingDecoration (
128
128
129
129
const originalTrigger = editor . trigger
130
130
editor . trigger = function ( source , handlerId , payload ) {
131
+ // Try to transform whole file pasting into a paste in the editable area only
131
132
const ranges = getRangesFromDecorations ( editor , decorationFilter )
132
133
const lastEditableRange =
133
134
ranges . length > 0 ? ranges [ ranges . length - 1 ] : undefined
You can’t perform that action at this time.
0 commit comments