This addresses John's point about multiple features using the
annotation mode.  A new class, registered_stylesheet_mode, is defined
to keep track of the features.

BTW, while the hints annotation now has a descriptive name, I've not
changed the underlying object; it's still hints_info.  Maybe we should
be more descriptive here too and call it hints_minibuffer_annotation.

David Kettler (2):
  Mode to enable minibuffer annotation with a stylesheet.
  hints-minibuffer-annotation-mode: global mode to enable hint
    annotations

 content/minibuffer-annotation.css          |    3 ++
 content/minibuffer.css                     |    4 --
 contrib/config/common.js                   |    2 +-
 modules/hints.js                           |   14 +++++----
 modules/minibuffer.js                      |    6 ++++
 modules/stylesheet.js                      |   45 ++++++++++++++++++++++++++++
 tests/simple/registered-stylesheet-mode.js |   28 +++++++++++++++++
 7 files changed, 91 insertions(+), 11 deletions(-)
 create mode 100644 content/minibuffer-annotation.css
 create mode 100644 tests/simple/registered-stylesheet-mode.js

-- 
1.7.9.1

_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to