clj-ns-browser icon indicating copy to clipboard operation
clj-ns-browser copied to clipboard

syntax coloring not in effect when selecting more than 1 button; and another bug

Open ghost opened this issue 11 years ago • 1 comments

ie. got to clojure.set join click Source button, notice the syntax highlighting is on, then Ctrl+click Doc, the syntax colours are gone, now drag any one of the buttons like 5 pixels and release this will make the syntax highlighting to activate while the pressed buttons appear depressed but they are still in effect in the doc text (aka both source and doc are still in the doc text below). But now, click on the next(or any) map-invert (without pressing any of the buttons like Source/Doc) will keep the join doc on. So this is basically the second "bug".

ghost avatar Mar 03 '13 10:03 ghost

The syntax coloring is switched on only when the source code is displayed by itself. That was a deliberate choice as otherwise the other items, like docs and see-alsos are also clojure-syntax colored. All items are displayed together in a single text widget, so it's either all or nothing. Unless you show the docs and the source-code in different text-widgets, I'm afraid there is no perfect solution (?) That second bug is weird... I have to "think" about that one...

franks42 avatar Mar 05 '13 06:03 franks42