#define SETTING_GUI_FONT_NORMAL "10pt monospace"
#define SETTING_GUI_FONT_EMPH "bold 10pt monospace"
#define SETTING_HOME_PAGE "about:blank"
+
+/* CSS style use on creating hints. This might also be averrules by css out of
+ * $XDG_CONFIG_HOME/vimb/style.css file. */
+#define HINT_CSS "#_hintContainer{\
+position:static\
+}\
+._hintLabel{\
+-webkit-transform:translate(-4px,-4px);\
+position:absolute;\
+z-index:100000;\
+font:bold .8em monospace;\
+color:#000;\
+background-color:#fff;\
+margin:0;\
+padding:0px 1px;\
+border:1px solid #444;\
+opacity:0.7\
+}\
+._hintElem{\
+background-color:#ff0 !important;\
+color:#000 !important;\
+transition:all 0 !important;\
+transition-delay:all 0 !important\
+}\
+._hintElem._hintFocus{\
+background-color:#8f0 !important\
+}\
+._hintLabel._hintFocus{\
+z-index:100001;\
+opacity:1\
+}"
+
function testHint() {
console.log("harmless testing!");
- /* hints.init('t', false, 500, '', false, false); */
+ hints.init('t', false, 500, '0123456789', false, false);
}
# ecaspe
sed -e 's|\\x20| |g' \
-e 's|\\|\\\\|g' \
- -e 's|"|\\"|g' | \
+ -e 's|"|\\"|g' \
+ -e 's|HINT_CSS|" HINT_CSS "|' | \
# write opener with the starting and ending quote char
sed -e "1s/^/#define $CONSTANT \"/" \
-e '$s/$/"\n/'