mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
73 lines
1.3 KiB
C++
73 lines
1.3 KiB
C++
#include "CodeEditor.h"
|
|
|
|
namespace Upp {
|
|
|
|
void EditorSyntax::Clear()
|
|
{
|
|
}
|
|
|
|
void EditorSyntax::ScanSyntax(const wchar *ln, const wchar *e, int line, int tab_size)
|
|
{
|
|
}
|
|
|
|
void EditorSyntax::Serialize(Stream& s)
|
|
{
|
|
}
|
|
|
|
void EditorSyntax::IndentInsert(CodeEditor& editor, int chr, int count)
|
|
{
|
|
editor.InsertChar(chr, count, true);
|
|
}
|
|
|
|
bool EditorSyntax::CheckBrackets(CodeEditor& e, int64& bpos0, int64& bpos)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool EditorSyntax::CanAssist() const
|
|
{
|
|
return false;
|
|
}
|
|
|
|
void EditorSyntax::ReformatComment(CodeEditor& e)
|
|
{
|
|
}
|
|
|
|
bool EditorSyntax::GetBlockHeader(Point&, Point&)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
int EditorSyntax::GetBlockLevel()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void EditorSyntax::Highlight(const wchar *s, const wchar *end, HighlightOutput& hls, CodeEditor *editor, int line, int64 pos)
|
|
{
|
|
}
|
|
|
|
Vector<IfState> EditorSyntax::PickIfStack()
|
|
{
|
|
return Vector<IfState>();
|
|
}
|
|
|
|
Color EditorSyntax::IfColor(char c)
|
|
{
|
|
switch(c){
|
|
case IfState::IF: return LtBlue();
|
|
case IfState::ELIF: return Gray();
|
|
case IfState::ELSE: return Green();
|
|
case IfState::ELSE_ERROR: return LtRed();
|
|
case IfState::ENDIF_ERROR: return LtMagenta();
|
|
default: return Null;
|
|
}
|
|
}
|
|
|
|
void EditorSyntax::CheckSyntaxRefresh(CodeEditor& e, int64 pos, const WString& text)
|
|
{
|
|
}
|
|
|
|
EditorSyntax::~EditorSyntax() {}
|
|
|
|
}
|