Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 818ea66

Browse files
committed
.
1 parent e8cfcfd commit 818ea66

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

UI/Components/EditorElement/Highlighting/ColorizeSection.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ protected override void ColorizeLine(DocumentLine line)
2828
ChangeLinePart(
2929
lineStartOffset + index,
3030
lineStartOffset + index + SelectionString.Length,
31-
element => {
31+
element =>
32+
{
3233
element.BackgroundBrush = new SolidColorBrush(Colors.CornflowerBlue);
3334
element.TextRunProperties.SetForegroundBrush(new SolidColorBrush(Colors.White));
3435
});

UI/Windows/SearchWindow.xaml.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,10 @@ private void Replace()
310310
{
311311
startFileCaretOffset = editors[index].editor.CaretOffset;
312312
addToOffset = startFileCaretOffset;
313-
if (startFileCaretOffset < 0) { startFileCaretOffset = 0; }
313+
if (startFileCaretOffset < 0)
314+
{
315+
startFileCaretOffset = 0;
316+
}
314317
searchText = editors[index].editor.Text.Substring(startFileCaretOffset);
315318
}
316319
else if (i == (editors.Count + editorIndex))

0 commit comments

Comments
 (0)