View Code? Open in Web Editor
NEW
TextVation is a simple text editor driven by innovation. It is written in C and privides a simple, lightweight, and efficient environment for text editing.
License: BSD 2-Clause "Simplified" License
textvation's People
Contributors
Watchers
textvation's Issues
Need to fix the below warnings with the latest version:
extvation -Wall -Wextra -pedantic -std=c99
textvation.c:110:9: warning: initialization of ‘char **’ from incompatible pointer type ‘char ’ [-Wincompatible-pointer-types]
110 | "//", "/ ", "*/",
| ^~~~
textvation.c:110:9: note: (near initialization for ‘HLDB[0].keywords’)
textvation.c:52:30: warning: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
52 | #define HL_HIGHLIGHT_NUMBERS (1<<0)
| ^
textvation.c:111:9: note: in expansion of macro ‘HL_HIGHLIGHT_NUMBERS’
111 | HL_HIGHLIGHT_NUMBERS | HL_HIGHLIGHT_STRINGS
| ^~~~~~~~~~~~~~~~~~~~
textvation.c:52:30: note: (near initialization for ‘HLDB[0].multiline_comment_end’)
52 | #define HL_HIGHLIGHT_NUMBERS (1<<0)
| ^
textvation.c:111:9: note: in expansion of macro ‘HL_HIGHLIGHT_NUMBERS’
111 | HL_HIGHLIGHT_NUMBERS | HL_HIGHLIGHT_STRINGS
| ^~~~~~~~~~~~~~~~~~~~
textvation.c:112:5: warning: missing initializer for field ‘flags’ of ‘struct editorSyntax’ [-Wmissing-field-initializers]
112 | },
| ^
textvation.c:64:9: note: ‘flags’ declared here
64 | int flags;
| ^~~~~
Fix the formatting for README.md
Captialize snaptoken when mentioning Salvatore and also fix new lines and indentation.