@ -27,7 +27,13 @@ export const conf: IRichLanguageConfiguration = {
{ open: '[', close: ']' },
{ open: '(', close: ')' },
{ open: '"', close: '"' },
]
],
folding: {
markers: {
start: new RegExp("^\\s*(::\\s*|REM\\s+)#region"),
end: new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")
}
};
export const language = <ILanguage>{
@ -32,7 +32,13 @@ export const conf: IRichLanguageConfiguration = {
{ open: '\'', close: '\'' },
start: new RegExp("^\\s*#region\\b"),
end: new RegExp("^\\s*#endregion\\b")
@ -31,7 +31,13 @@ export const conf: IRichLanguageConfiguration = {
start: new RegExp("^\\s*#pragma\\s+region\\b"),
end: new RegExp("^\\s*#pragma\\s+endregion\\b")
@ -33,7 +33,13 @@ export const conf: IRichLanguageConfiguration = {
{ open: '<', close: '>' },
@ -35,7 +35,14 @@ export const conf: LanguageConfiguration = {
{ open: '\'', close: '\'' }
start: new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),
end: new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")
export const language = <IMonarchLanguage>{
@ -30,7 +30,13 @@ export const conf: IRichLanguageConfiguration = {
start: new RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),
end: new RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")
@ -55,6 +55,13 @@ export const conf: IRichLanguageConfiguration = {
action: { indentAction: _monaco.languages.IndentAction.Indent }
start: new RegExp("^\\s*<!--\\s*#region\\b.*-->"),
end: new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")
@ -34,7 +34,13 @@ export const conf: IRichLanguageConfiguration = {
start: new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),
end: new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")
@ -44,7 +44,13 @@ export const conf: IRichLanguageConfiguration = {
{ open: '`', close: '`' },
start: new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),
end: new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")
@ -28,7 +28,14 @@ export const conf: IRichLanguageConfiguration = {
{ open: '(', close: ')', notIn: ['string'] },
{ open: '"', close: '"', notIn: ['string'] },
{ open: '\'', close: '\'', notIn: ['string', 'comment'] }
start: new RegExp("^\\s*(#|\/\/)region\\b"),
end: new RegExp("^\\s*(#|\/\/)endregion\\b")
@ -19,7 +19,10 @@ export const conf: IRichLanguageConfiguration = {
{ open: '{', close: '}', notIn: ['string', 'comment'] },
{ open: '[', close: ']', notIn: ['string', 'comment'] },
{ open: '(', close: ')', notIn: ['string', 'comment'] },
offSide: true
@ -31,7 +31,14 @@ export const conf: IRichLanguageConfiguration = {
offSide: true,
@ -32,7 +32,13 @@ export const conf: LanguageConfiguration = {
@ -47,7 +47,13 @@ export const conf: IRichLanguageConfiguration = {
{ open: '"', close: '"', notIn: ['string', 'comment'] },
{ open: '<', close: '>', notIn: ['string', 'comment'] },
start: new RegExp("^\\s*#Region\\b"),
end: new RegExp("^\\s*#End Region\\b")
@ -24,6 +24,9 @@ export const conf: IRichLanguageConfiguration = {