|
a/src/common/textsplit.h |
|
b/src/common/textsplit.h |
|
... |
|
... |
57 |
static bool o_deHyphenate;
|
57 |
static bool o_deHyphenate;
|
58 |
static void deHyphenate(bool on) {
|
58 |
static void deHyphenate(bool on) {
|
59 |
o_deHyphenate = on;
|
59 |
o_deHyphenate = on;
|
60 |
}
|
60 |
}
|
61 |
|
61 |
|
|
|
62 |
// Process backslashes as letters? Default is off, but it may be
|
|
|
63 |
// useful for searching for tex commands. Config variable:
|
|
|
64 |
// backslashasletter
|
|
|
65 |
static void backslashAsLetter(bool on);
|
|
|
66 |
|
62 |
enum Flags {
|
67 |
enum Flags {
|
63 |
// Default: will return spans and words (a_b, a, b)
|
68 |
// Default: will return spans and words (a_b, a, b)
|
64 |
TXTS_NONE = 0,
|
69 |
TXTS_NONE = 0,
|
65 |
// Only return maximum spans (a@b.com, not a, b, or com)
|
70 |
// Only return maximum spans (a@b.com, not a, b, or com)
|
66 |
TXTS_ONLYSPANS = 1,
|
71 |
TXTS_ONLYSPANS = 1,
|