Skip to content

Commit

Permalink
Merge pull request #243 from noborus/fix-view-mode-multicolor
Browse files Browse the repository at this point in the history
Fixed that setting MultiColorWords in view-mode
  • Loading branch information
noborus authored Jan 3, 2023
2 parents 29eedca + ec61aea commit 62e10c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions oviewer/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ func (root *Root) setViewMode(modeName string) {

root.Doc.general = overwriteGeneral(root.Doc.general, c)
root.Doc.setSectionDelimiter(root.Doc.SectionDelimiter)
root.Doc.setMultiColorWords(root.Doc.MultiColorWords)
root.Doc.ClearCache()
root.ViewSync()
root.setMessagef("Set mode %s", modeName)
Expand Down

0 comments on commit 62e10c1

Please sign in to comment.