CSS Editor - File functions

These functions are mainly for external stylesheets (i.e. saved in files), because you need to be able to load and save these.

/docs/cssedit/file/file_menu.png

In embedded use, calling the css editor will automatically load the file. Saving it has to be done explicitely, since you may want to just look at a stylesheet and not have it overwritten when returning to the HTML editor.

On loading a stylesheet - external but also embedded - CSSUtils may create warning or error messages. If this is the case, this is mentioned in the status bar at the bottom of the screen:

/docs/cssedit/file/warnings.png

The messages are collected in a log which can be viewed using the "View Log" function:

/docs/cssedit/file/show_log.png

I've created a "Show context" function to be able to find out what rule a log message is about. It searches for the appropriate declaration in the stylesheet:

/docs/cssedit/file/show_context.png