From ec61aea3f34e64162010c15715264cb0bf96402d Mon Sep 17 00:00:00 2001 From: Noboru Saito Date: Wed, 4 Jan 2023 08:20:18 +0900 Subject: [PATCH] Fixed that setting MultiColorWords in view-mode Fixed that setting MultiColorWords in view-mode did not work. --- oviewer/action.go | 1 + 1 file changed, 1 insertion(+) diff --git a/oviewer/action.go b/oviewer/action.go index 5484535a..994b893a 100644 --- a/oviewer/action.go +++ b/oviewer/action.go @@ -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)