Stroika Library
3.0d18
Help-Home
Loading...
Searching...
No Matches
LedLineItConfig.h
1
/*
2
* Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3
*/
4
#ifndef __LedLineItConfig__
5
#define __LedLineItConfig__ 1
6
7
#include "Stroika/Frameworks/StroikaPreComp.h"
8
9
#include "Stroika/Frameworks/Led/Config.h"
10
11
#if defined(__cplusplus)
12
13
static_assert
(qStroika_HasComponent_ATLMFC,
"Error: LedLineIt requires the ATLMFC feature to be set true when building Stroika"
);
14
15
// Test a bit, but I think undo information no longer consumes lots of memory, so we can keep a larger
16
// (effictively infinite) undo buffer (SPR#1565) - LGP 2003-11-26
17
const
unsigned
int
kMaxNumUndoLevels = 1024;
18
#endif
19
20
#define qSupportGenRandomCombosCommand 0
21
22
#define qSupportSyntaxColoring 1
23
24
#if qSupportSyntaxColoring
25
/*
26
* qSupportOnlyMarkersWhichOverlapVisibleRegion attempts to only keep track of markers
27
* which will overlap the region displayed
28
* currently in the window. The premise is that we would rather save the memory for all
29
* the undisplayed areas, and we wish to save the time it takes to analyze all that text
30
* (in the case of huge documents), and yet we assume we can always analyze a page of text
31
* quickly enuf for scrolling purposes. If any of this isn't true, you can try always
32
* computing the whole thing. Really thats easier.
33
*
34
* NB: With qSupportOnlyMarkersWhichOverlapVisibleRegion TRUE,
35
* (a) when we've scrolled, we must call SyntaxColoringMarkerOwner::RecheckScrolling ()
36
* (b) when font metrics changed, we must call SyntaxColoringMarkerOwner::RecheckAll ()
37
*/
38
#ifndef qSupportOnlyMarkersWhichOverlapVisibleRegion
39
#define qSupportOnlyMarkersWhichOverlapVisibleRegion 1
40
#endif
41
#endif
42
43
#define qIncludeBasicSpellcheckEngine 1
44
45
#endif
/*__LedLineItConfig__*/
Samples
LedLineIt
Sources
LedLineItConfig.h
Generated by
1.9.8