Skip to content

Commit

Permalink
added Workaround for Column Highligting
Browse files Browse the repository at this point in the history
  • Loading branch information
daddel80 committed Dec 2, 2023
1 parent b10540d commit f6d1c4f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/MultiReplacePanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3147,6 +3147,14 @@ void MultiReplace::processLogForDelimiters()
}
}

// Workaround: Highlight last line to fix N++ bug causing loss of styling on last character whwn modification in any other line
if (isColumnHighlighted) {
LRESULT lastLine = send(SCI_GETLINECOUNT, 0, 0) - 1;
if (lastLine >= 0) {
highlightColumnsInLine(lastLine);
}
}

// Clear Log queue
logChanges.clear();
textModified = false;
Expand Down

0 comments on commit f6d1c4f

Please sign in to comment.