mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
add syntax highlighting (WIP)
This commit is contained in:
parent
ce1e9f76cf
commit
ed3865964b
16 changed files with 168 additions and 43 deletions
12
src/devtools/syntax_highlighting.hpp
Normal file
12
src/devtools/syntax_highlighting.hpp
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
||||
struct FontStylesScheme;
|
||||
|
||||
namespace devtools {
|
||||
std::unique_ptr<FontStylesScheme> syntax_highlight(
|
||||
const std::string& lang, std::string_view source
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue