fe::IScintillaDecoratorFactory Class Reference
[Ferry Extensions library]

Factory to create editor extensions encapsulating decorators based on Scintilla lexers. More...

Inheritance diagram for fe::IScintillaDecoratorFactory:

fe::IDecoratorExtensionFactory fe::IExtensionFactory

List of all members.

Public Member Functions

virtual void UC_DLL_CALL setPropertiesFile (const char *propertiesFile)=0


Detailed Description

Factory to create editor extensions encapsulating decorators based on Scintilla lexers.

This editor extension factory adds to Ferry editor the same capabilities to decorate text as Scintilla text editing component has.

The following screenshots illustrate how Ferry editor draws text with the attached editor extension created with the fe::IScintillaDecoratorFactory::createExtension() call.

setSuffix("html"):

scale=1.0.png

setSuffix("java"):

scintilla.suffix=java.png

Note:
See SciTE's *.properties files for the complete list of suffixes and well-known filenames recognized by the setSuffix() function.
E.g.: suffixes for HTML files are specified in 'html.properties' file:
  file.patterns.web=*.html;*.htm;*.asp;*.shtml;*.htd;*.jsp
  file.patterns.php=*.php3;*.phtml;*.php
  file.patterns.html=$(file.patterns.web);$(file.patterns.php);*.htt;*.cfm;*.tpl;*.dtd;*.hta
  
See also:
Fe_CreateScintillaDecoratorFactory()

Member Function Documentation

virtual void UC_DLL_CALL fe::IScintillaDecoratorFactory::setPropertiesFile ( const char *  propertiesFile  )  [pure virtual]

Sets path to the top level Scintilla's configuration file. The name should normally specify SciTEGlobal.properties file. This file includes other property files. The common way to get all needed property files is to extract them from SciTE distribution.

Parameters:
propertiesFile a null-terminated UTF8 encoded string that specifies the path to Scintilla's top level properties file.


The documentation for this class was generated from the following file:

Generated on Tue Nov 18 21:08:23 2008 for Ferry by doxygen 1.5.7.1
http://sourceforge.net