Skip to content

How to TEditor / TFileEditor "mapColor" ? #153

Answered by magiblot
paule32 asked this question in Q&A
Discussion options

You must be logged in to vote

The palette layouts of each class are usually documented in the public headers, but in the case of TEditor they aren't. I guess they forgot about it. I hadn't noticed before; I will make sure to add it later.

But anyway, since the default TEditor palette is defined like this:

#define cpEditor "\x06\x07"

It can be deduced that it's pointing to entries 6 and 7 of TWindow's palette, which are Scroller normal text and Scroller selected text:

/* ---------------------------------------------------------------------- */
/* class TWindow */
/* */

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by paule32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants