Alison Peck wrote:
> 
> I’m wrapping some bits of text in an ‘application’ element, but this
> isn’t displayed visually differently in the editor. As some of the text
> that needs to be wrapped already exists, I would like to be able to
> change the way it is shown so I can quickly see which have already been
> altered without having to select them.
> 
>  
> 
> This is purely an editor display change – I don’t want to change the
> output display. Can you point me in the right direction, please… this
> may be useful for other things in the future.
> 

Quick and dirty method:
-----------------------

[1] Edit <XXE_install_dir>/addon/config/docbook/css/docbook1.imp using a
text editor.

[2] Search for "application". You'll find this CSS rule:

---
application,
hardware,
database,
productnumber {
    display: inline;
}
---

[3] Add a new CSS rule after the above one. For example:

---
application {
    font-weight: bold;
    font-family: monospace;
    color: green;
}
---

[4] Save docbook1.imp and restart XXE.




Clean method (survives XMLmind XML Editor upgrades):
----------------------------------------------------

You'll have to do more or less  the same thing in a separate CSS file
and declare this custom CSS file to XXE.

How to do this is explained here:

XMLmind XML Editor - Configuration and Deployment
5. Customizing an existing configuration
5.5. Replacing an existing CSS style sheet

http://www.xmlmind.com/xmleditor/_distrib/doc/configure/replace_css.html

(However, you'll have to browse through chapters 1 to 5 to understand
what you are doing.)

 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to