Skip to content

dbeaver/pro#3822 make selection accountable#4144

Merged
devnaumov merged 5 commits intodevelfrom
dbeaver/pro#3822-script-execution-selection
Feb 19, 2026
Merged

dbeaver/pro#3822 make selection accountable#4144
devnaumov merged 5 commits intodevelfrom
dbeaver/pro#3822-script-execution-selection

Conversation

@devnaumov
Copy link
Member

closes 3822

Comment on lines +248 to +250
const segment = await this.model.getResolvedSegment();

const hasSelection = segment && this.model.cursor.anchor !== this.model.cursor.head;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you don't need segment, you only need cursor

@devnaumov devnaumov requested a review from Wroud February 17, 2026 12:28
Wroud
Wroud previously approved these changes Feb 17, 2026
@devnaumov devnaumov merged commit ae331ef into devel Feb 19, 2026
10 checks passed
@devnaumov devnaumov deleted the dbeaver/pro#3822-script-execution-selection branch February 19, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

alt + x is bugged and does not behave like in dbeaver

3 participants