mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-09 17:52:34 -05:00
Merge from vscode 1eb87b0e9ce9886afeaecec22b31abd0d9b7939f (#7282)
* Merge from vscode 1eb87b0e9ce9886afeaecec22b31abd0d9b7939f * fix various icon issues * fix preview features
This commit is contained in:
@@ -179,7 +179,7 @@ export class ShiftCommand implements ICommand {
|
||||
}
|
||||
|
||||
this._addEditOperation(builder, new Range(lineNumber, 1, lineNumber, indentationEndIndex + 1), desiredIndent);
|
||||
if (lineNumber === startLine) {
|
||||
if (lineNumber === startLine && !this._selection.isEmpty()) {
|
||||
// Force the startColumn to stay put because we're inserting after it
|
||||
this._selectionStartColumnStaysPut = (this._selection.startColumn <= indentationEndIndex + 1);
|
||||
}
|
||||
@@ -226,7 +226,7 @@ export class ShiftCommand implements ICommand {
|
||||
this._addEditOperation(builder, new Range(lineNumber, 1, lineNumber, indentationEndIndex + 1), '');
|
||||
} else {
|
||||
this._addEditOperation(builder, new Range(lineNumber, 1, lineNumber, 1), oneIndent);
|
||||
if (lineNumber === startLine) {
|
||||
if (lineNumber === startLine && !this._selection.isEmpty()) {
|
||||
// Force the startColumn to stay put because we're inserting after it
|
||||
this._selectionStartColumnStaysPut = (this._selection.startColumn === 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user