mirror of
https://github.com/liuk7071/ChonkyStation.git
synced 2025-04-02 10:52:38 -04:00
25 lines
669 B
C++
25 lines
669 B
C++
#pragma once
|
|
|
|
#include "../zep/include/zep/syntax.h"
|
|
#include "orca/mode_orca.h"
|
|
|
|
namespace Zep
|
|
{
|
|
|
|
class ZepSyntax_Orca : public ZepSyntax
|
|
{
|
|
public:
|
|
ZepSyntax_Orca(ZepBuffer& buffer,
|
|
const std::unordered_set<std::string>& keywords = std::unordered_set<std::string>{},
|
|
const std::unordered_set<std::string>& identifiers = std::unordered_set<std::string>{},
|
|
uint32_t flags = 0);
|
|
|
|
virtual void UpdateSyntax() override;
|
|
virtual SyntaxResult GetSyntaxAt(const GlyphIterator& itr) const override;
|
|
|
|
virtual void UpdateSyntax(std::vector<SyntaxResult>& flags);
|
|
private:
|
|
std::vector<SyntaxResult> m_syntax;
|
|
};
|
|
|
|
} // namespace Zep
|