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 0088f4d commit 5444301
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 @@ -3161,6 +3161,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 5444301

Please sign in to comment.