ソースを参照

Added missing rem comment styling for bmx.

woollybah 6 年 前
コミット
ef1be19da2

+ 2 - 0
maxguitextareascintilla.mod/linux_glue.c

@@ -31,6 +31,7 @@
 #define TEXTFORMAT_BOLD 1
 #define TEXTFORMAT_BOLD 1
 #define TEXTFORMAT_ITALIC 2
 #define TEXTFORMAT_ITALIC 2
 #define TEXTFORMAT_UNDERLINE 4
 #define TEXTFORMAT_UNDERLINE 4
+#define SCE_B_COMMENTREM 19
 
 
 #ifdef BMX_NG
 #ifdef BMX_NG
 	void maxgui_maxguitextareascintilla_common_TSCNotification__update(BBObject *, int, int, int);
 	void maxgui_maxguitextareascintilla_common_TSCNotification__update(BBObject *, int, int, int);
@@ -424,6 +425,7 @@ void bmx_mgta_scintilla_sethighlightstyle(ScintillaObject * sci, int style, int
 				switch (style) {
 				switch (style) {
 					case 1:
 					case 1:
 						scintilla_send_message(sci, SCI_STYLESETFORE, SCE_B_COMMENT, color);
 						scintilla_send_message(sci, SCI_STYLESETFORE, SCE_B_COMMENT, color);
+						scintilla_send_message(sci, SCI_STYLESETFORE, SCE_B_COMMENTREM, color);
 						break;
 						break;
 					case 2:
 					case 2:
 						scintilla_send_message(sci, SCI_STYLESETFORE, SCE_B_STRING, color);
 						scintilla_send_message(sci, SCI_STYLESETFORE, SCE_B_STRING, color);

+ 2 - 0
maxguitextareascintilla.mod/win32_glue.c

@@ -31,6 +31,7 @@
 #define TEXTFORMAT_BOLD 1
 #define TEXTFORMAT_BOLD 1
 #define TEXTFORMAT_ITALIC 2
 #define TEXTFORMAT_ITALIC 2
 #define TEXTFORMAT_UNDERLINE 4
 #define TEXTFORMAT_UNDERLINE 4
+#define SCE_B_COMMENTREM 19
 
 
 #ifdef BMX_NG
 #ifdef BMX_NG
 	void maxgui_maxguitextareascintilla_common_TSCNotification__update(BBObject *, int, int, int);
 	void maxgui_maxguitextareascintilla_common_TSCNotification__update(BBObject *, int, int, int);
@@ -427,6 +428,7 @@ void bmx_mgta_scintilla_sethighlightstyle(HWND sci, int style, int flags, int co
 				switch (style) {
 				switch (style) {
 					case 1:
 					case 1:
 						scintilla_send_message(sci, SCI_STYLESETFORE, SCE_B_COMMENT, color);
 						scintilla_send_message(sci, SCI_STYLESETFORE, SCE_B_COMMENT, color);
+						scintilla_send_message(sci, SCI_STYLESETFORE, SCE_B_COMMENTREM, color);
 						break;
 						break;
 					case 2:
 					case 2:
 						scintilla_send_message(sci, SCI_STYLESETFORE, SCE_B_STRING, color);
 						scintilla_send_message(sci, SCI_STYLESETFORE, SCE_B_STRING, color);