Merge: hightlight: improve infrastructure
authorJean Privat <jean@pryen.org>
Mon, 13 Jun 2016 16:04:24 +0000 (12:04 -0400)
committerJean Privat <jean@pryen.org>
Mon, 13 Jun 2016 16:04:24 +0000 (12:04 -0400)
commita02132e04f421f9c040b6c96d7c9446978c0ee33
treee77dddef4a21b42559172755cc4c7f4c448da965
parentbbca89ac70054ea7cf44e3bafc98daaed7c67658
parenteae60f7b974e79fba878e0d801693449a1db9229
Merge: hightlight: improve infrastructure

infoboxes that popup where broken some time ago. This PR fix them and add two toggle for clients.

* `show_messages` to underline tokens and show error messages (or not)
* `show_infobox` to attach (or not) popupable infoboxes (those that where broken).

demo is available http://info.uqam.ca/~privat/tmp/nitlight/

Note: the UI is still terrible, but I have no better idea than these ugly popups to present complex contextual information.

Pull-Request: #2180
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
src/highlight.nit