|
Assembled 2
A column based text editor
|
#include <editor/syntax/syntax.h>#include <editor/buffer/buffer.h>#include <editor/syntax/backends/nasm.h>#include <interface/theming/themes.h>#include <includes.h>#include <global.h>#include <string.h>Classes | |
| struct | AS_Keyword |
Enumerations | |
| enum | AS_NASM_SYNTAX_COLORS { INSTRUCTION = AS_CUSTOM_COLOR_START + 1 , LABEL , COLON , SQUARE , COMMENT , MACRO , REGISTER , NASM_KEYWORD , SYMBOL } |
Functions | |
| struct AS_SyntaxPoint * | as_asm_get_syntax (char *line) |
| void | as_asm_backend_init (int i) |
Assembled - Column based text editor Copyright (C) 2023-2024 awewsomegamer
This file is apart of Assembled.
Assembled is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
This is a syntax backend module.
Colors for different types of keywords.
Describes the color pairs used for the given type of keyword.
| void as_asm_backend_init | ( | int | i | ) |
Initialization function for the backend
Will restructure the keywords array into a g_hash_table if AS_GLIB_ENABLE is defined.
| int | i - The position the backend should place itself in as_ctx.syn_backends |
| struct AS_SyntaxPoint * as_asm_get_syntax | ( | char * | line | ) |
Internal function to parse an unwrapped line into syntax point
| char | *line - The unwrapped line to be decoded into a series of syntax points. |