parent = this, freeCaret = true, autoEmpty = true, multiLine = true, readOnly = true;
hasVertScroll = true, hasHorzScroll = true, borderStyle = none;
anchor = { left = 20, right = 0, top = 0, bottom = 0 };
- background = viewsBackground;
- foreground = viewsText;
- selectionColor = selectionColor, selectionText = selectionText;
+ /*
+ background = colorScheme.viewsBackground;
+ foreground = colorScheme.viewsText;
+ selectionColor = colorScheme.selectionColor;
+ selectionText = colorScheme.selectionText;
+ */
bool NotifyDoubleClick(EditBox editBox, EditLine line, Modifiers mods)
{
bool MenuEditFind(MenuItem selection, Modifiers mods)
{
int64 id = selection.id;
- char * searchString = findDialog.searchString;
+ const char * searchString = findDialog.searchString;
if(id != 2 && searchString[0])
{
- editBox.Find(searchString, findDialog.wholeWord, findDialog.matchCase, (bool)id);
+ editBox.Find(searchString, findDialog.wholeWord, findDialog.matchCase, id != 0);
return true;
}
findDialog.Create();
return true;
}
- void Logf(char * format, ...)
+ void Logf(const char * format, ...)
{
char string[MAX_F_STRING*10];
va_list args;
Log(string);
}
- void LogSprintf(char * entry)
- {
- char string[MAX_F_STRING];
- sprintf(string, entry);
- Log(string);
- }
- void LogRaw(char * entry)
+
+ void LogRaw(const char * entry)
{
Log(entry);
}
- void Log(char * string)
+ void Log(const char * string)
{
EditLine line1;
EditLine line2;