Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Live Colors ====== This is an example binary plug-in, that visualizes color values directly in code, using underline or background color equal to typed color value. Following color definition are recognized: * Standard HTML color definitions as // %%#%%AAFFCC // * Web color definitions as // %%#%%afc // * C/C++ macros for color definition as // RGB(255,0,255) // or // RGBA(0xFF,0x00,0xFF, 0xAF) // {{:plugins:css_color_preview.png?direct|In-code color preview in CSS file}} {{:plugins:cpp_color_preview.png?direct&400|In-code color preview in C++ source code}} ===== Options ===== {{ :plugins:live_colors_options.png?direct&300|Visualization options for Live Color plugin}} The color values can be visualized in several modes: * //As Background// - show color as background color for color value text * //As 1px Undeline// - show color as 1 pixel width underline for color value text * //As 2px Undeline// - show color as 2 pixel ... * //As 3px Undeline// - show color as 3 pixel ... * //As 4px Undeline// - show color as 4 pixel ... ===== Source Code ===== Live Color plug-in is reference plug-in for someone who wants to extend HippoEDIT with additional functionality. C++ source code supplied, provide the basis for building syntax highlighting plug-in with examples showing how to expose implemented features to HippoEDIT core, register commands and extend HippoEDIT UI. ===== Install ===== You can install plugin directly from HippoEDIT Plugins options page (//Tools->Options->Plugins//), if you have [[online-repository:start|Online Repository]] activated or by download plugin [[installation:bundle|bundle]] directly from this page and open it with HippoEDIT. * [[http://hippoedit.com/get_file.php?id=u32-file|Download and Install HippoEDIT (if not installed already)]] * [[http://www.hippoedit.com/api/get_bundle.php?type=plugin&id=FC52F539-8F7A-4145-8E33-01E8371D82E2|Download and Install LiveColors for HippoEDIT]] ===== Supported syntaxes ===== [[http://html-editor.hippoedit.com/|HTML]], [[http://svg-editor.hippoedit.com/|SVG]], [[http://css-editor.hippoedit.com/|CSS]], [[http://xslt-editor.hippoedit.com/|XSLT]], [[http://cpp-editor.hippoedit.com/|C/C++]] ===== More ===== * For details about integration, you can ask on [[http://forum.hippoedit.com/add-ons-tools-plugins/live-colors/|forum]]. * Source code for reference or extension can be found on [[https://github.com/hippoedit/live-colors|GitHub]]. #plugin