Wt  3.2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Attributes | List of all members
Wt::WSuggestionPopup::Options Struct Reference

A configuration object to generate a matcher and replacer JavaScript function. More...

Public Attributes

std::string highlightBeginTag
 Open tag to highlight a match in a suggestion.
std::string highlightEndTag
 Close tag to highlight a match in a suggestion.
char listSeparator
 When editing a list of values, the separator used for different items.
std::string whitespace
 When editing a value, the whitespace characters ignored before the current value.
std::string wordSeparators
 To show suggestions based on matches of the edited value with parts of the suggestion.
std::string appendReplacedText
 When replacing the current edited value with suggestion value, append the following string as well.

Detailed Description

A configuration object to generate a matcher and replacer JavaScript function.

See Also
WSuggestionPopup

Member Data Documentation

std::string Wt::WSuggestionPopup::Options::appendReplacedText

When replacing the current edited value with suggestion value, append the following string as well.

Used during replacing.

std::string Wt::WSuggestionPopup::Options::highlightBeginTag

Open tag to highlight a match in a suggestion.

Must be an opening markup tag, such as <b>.

Used during matching.

std::string Wt::WSuggestionPopup::Options::highlightEndTag

Close tag to highlight a match in a suggestion.

Must be a closing markup tag, such as </b>.

Used during matching.

char Wt::WSuggestionPopup::Options::listSeparator

When editing a list of values, the separator used for different items.

For example, ',' to separate different values on komma. Specify 0 ('\0') for no list separation.

Used during matching and replacing.

std::string Wt::WSuggestionPopup::Options::whitespace

When editing a value, the whitespace characters ignored before the current value.

For example, " \\n" to ignore spaces and newlines.

Used during matching and replacing.

std::string Wt::WSuggestionPopup::Options::wordSeparators

To show suggestions based on matches of the edited value with parts of the suggestion.

For example, " .@" will also match with suggestion text after a space, a dot (.) or an at-symbol (@).

Used during matching.


Generated on Mon Sep 24 2012 for the C++ Web Toolkit (Wt) by doxygen 1.8.1.2