1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-15 14:54:09 +02:00

fix some whitespaces

This commit is contained in:
unknown 2021-12-18 20:51:04 +02:00
parent f1652dd1aa
commit 28ad51fbfb

View file

@ -2244,11 +2244,8 @@ namespace IDE.ui
noStar = true;
}
if (true || (HasSelection()) && (mSelection.Value.Length > 0))
{
//int cursorEndPos = CursorTextPos;
// set selection to begin from line start
int lineIdx;
int lineChar;
@ -2280,7 +2277,6 @@ namespace IDE.ui
//int lastCharPos = maxPos - (afterTrimStart - afterTrimEnd);
int q = 0;
//var nc = trimmedStr.Count('\n');
if (doComment != false)
{
@ -2303,7 +2299,6 @@ namespace IDE.ui
mSelection = EditSelection(minPos, maxPos + q);
}
if (undoBatchStart != null)
mData.mUndoManager.Add(undoBatchStart.mBatchEnd);
@ -2323,6 +2318,7 @@ namespace IDE.ui
if (CheckReadOnly())
return false;
bool noStar = false;
var startLineAndCol = CursorLineAndColumn;
if ((!HasSelection()) && (doComment != null))
{
@ -2335,7 +2331,6 @@ namespace IDE.ui
if ((HasSelection()) && (mSelection.Value.Length > 0))
{
int lineIdx;
int lineChar;
GetLineCharAtIdx(mSelection.GetValueOrDefault().MinPos, out lineIdx, out lineChar);