В системе есть безусловно бесценная возможность настройки пользовательской расцветки и ключевых слов, открывающих и закрывающих блоки слов.
Одно мне пока непонятно: что следует сделать, чтобы каждый конкретный тип блока закрывался именно его закрывающим словом, а не любым из списка закрывающих? Или, что более точно, - чтобы открытый блок не закрывался никакими словами кроме конкретно указанного. Дабы иметь возможность контролировать закрытие блоков корректными закрывающими словами.
Приммер
If (expr) then
while (expr2) do
endloop
endif
Это орректный кусок кода, все блоки должны быть закрыты
If (expr) then
while (expr2) do
endloop
endloop
Это заведомо некорректный кусок кода и блок "if" должен остаться незакрытым. В настоящее же время при перечислении слов "if, while" в качестве открывающих блоки и "endif, endloop" в качестве закрывающих, оба блока во втором примере окажутся закрытыми.
Как настроить Npp?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
it is possible to close a block ONLY with the specific end keyword for example
If (expr) then
while (expr2) do
endloop
endif
is korrect so it will be correct closed where
If (expr) then
while (expr2) do
endloop
endloop
will be marked or something like because endloop is not the end mark for if
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please, I am (like most people from every country, including yours and mine) doing the little effort it takes to write in English (despite I never learnt it at school). That way I have just ONE language to learn.
If each of us starts to write in their own language, each of us will have to learn ~200 languages.
If you really can't afford the effort 90% are doing, then please at least find a forum nearer from your language (I don't even know which one it is: Russian?)
Versailles, Sat 13 Sep 2008 13:25:40 +0200
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
В системе есть безусловно бесценная возможность настройки пользовательской расцветки и ключевых слов, открывающих и закрывающих блоки слов.
Одно мне пока непонятно: что следует сделать, чтобы каждый конкретный тип блока закрывался именно его закрывающим словом, а не любым из списка закрывающих? Или, что более точно, - чтобы открытый блок не закрывался никакими словами кроме конкретно указанного. Дабы иметь возможность контролировать закрытие блоков корректными закрывающими словами.
Приммер
If (expr) then
while (expr2) do
endloop
endif
Это орректный кусок кода, все блоки должны быть закрыты
If (expr) then
while (expr2) do
endloop
endloop
Это заведомо некорректный кусок кода и блок "if" должен остаться незакрытым. В настоящее же время при перечислении слов "if, while" в качестве открывающих блоки и "endif, endloop" в качестве закрывающих, оба блока во втором примере окажутся закрытыми.
Как настроить Npp?
he wrote: (short compilation)
it is possible to close a block ONLY with the specific end keyword for example
If (expr) then
while (expr2) do
endloop
endif
is korrect so it will be correct closed where
If (expr) then
while (expr2) do
endloop
endloop
will be marked or something like because endloop is not the end mark for if
Please, I am (like most people from every country, including yours and mine) doing the little effort it takes to write in English (despite I never learnt it at school). That way I have just ONE language to learn.
If each of us starts to write in their own language, each of us will have to learn ~200 languages.
If you really can't afford the effort 90% are doing, then please at least find a forum nearer from your language (I don't even know which one it is: Russian?)
Versailles, Sat 13 Sep 2008 13:25:40 +0200