]> git.gir.st - VimFx.git/blob - packages/hints.coffee
migrating back to my machine
[VimFx.git] / packages / hints.coffee
1 HINTCHARS = 'asdfghjkl;'
2
3 { interfaces: Ci } = Components
4 HTMLDocument = Ci.nsIDOMHTMLDocument
5
6 class Marker
7 constructor: (@element) ->
8
9 class DocumentMarkers
10 constroctor: (@document) ->
11
12
13 hasHints = (document) ->
14 false
15
16 addHints = (document, cb) ->
17 if document instanceof HTMLDocument
18 document
19
20 removeHints = (document) ->
21 if hasHints document
22 null
23
24 exports.addHints = addHints
25 exports.removeHints = removeHints
26 exports.hasHints = removeHints
Imprint / Impressum