mirror of
https://github.com/kunalja/VariantEditor.git
synced 2026-07-22 13:00:32 +00:00
dim
This commit is contained in:
parent
db39844372
commit
e21e2279fd
1 changed files with 9 additions and 0 deletions
|
|
@ -354,6 +354,15 @@ export default class VariantEditor extends Plugin {
|
|||
new Notice('Editing existing variant');
|
||||
}
|
||||
|
||||
// Set active line for dimming
|
||||
this.activeLine = from.line + 1;
|
||||
|
||||
// Store the selected text for highlighting
|
||||
this.selectedText = selectedText;
|
||||
|
||||
// Force editor refresh to apply decorations
|
||||
this.app.workspace.updateOptions();
|
||||
|
||||
// Open the variant editor modal
|
||||
new TextInputModal(
|
||||
this.app,
|
||||
|
|
|
|||
Loading…
Reference in a new issue