Hi ufo-pu55y!
Many thanks for the SourceCookifier!
I would try to USE SourceCookifier FOR Russian accounting system "1S" (http://www.1c.ru/)
This system uses russian variant of visual basic, similar the VBA IN Microsoft office.
For example, keyword "Procedure" looks AS "Процедура" IN cyrillic layout.
I can CREATE rule by regexp, that contains keyword "Процедура", AND SourceCookifier collects the list of procedures properly (where file encoded IN ANSI, of course, no unicode).
but treeview control "WindowsForms10.SysTreeView32" distorts symbols in cyrillic.
Could you upgrade SourceCookifier for correct displaying symbols in cyrillic?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi ufo-pu55y!
Many thanks for the SourceCookifier!
I would try to USE SourceCookifier FOR Russian accounting system "1S" (http://www.1c.ru/)
This system uses russian variant of visual basic, similar the VBA IN Microsoft office.
For example, keyword "Procedure" looks AS "Процедура" IN cyrillic layout.
I can CREATE rule by regexp, that contains keyword "Процедура", AND SourceCookifier collects the list of procedures properly (where file encoded IN ANSI, of course, no unicode).
but treeview control "WindowsForms10.SysTreeView32" distorts symbols in cyrillic.
Could you upgrade SourceCookifier for correct displaying symbols in cyrillic?
This screenshot describes the trouble:
May be this is a limitation of Exuberant Ctags?
Test file:
Процедура ОткрытьФайл(ПолныйПуть)
Переменная = ПолныйПуть
КонецПроцедуры
Procedure OpenFile(FullPath)
Var = FullPath
End Procedure
SourceCookifier conf:
<?xml version="1.0" encoding="utf-8"?>
<SerializableDictionaryOfStringLanguage>
<item>
<key>
<string>S1</string>
</key>
<value>
<Language xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<BuildIn>false</BuildIn>
<Extensions>
<string>.1s</string>
</Extensions>
<DisplayAccess>false</DisplayAccess>
<DisplayReturnType>false</DisplayReturnType>
<DisplayScope>false</DisplayScope>
<DisplaySignature>false</DisplaySignature>
<CaseSensitive>true</CaseSensitive>
<ScopeOperator>.</ScopeOperator>
<TagTypes>
<item>
<key>
<string>P</string>
</key>
<value>
<TagType>
<Description>Процедура</Description>
<BuildIn>false</BuildIn>
<RegexPatterns>
<string>/^([]|\t)*(Процедура)([]*)([0-9а-яА-Яa-zA-Z_\.\,'\"\`\(\)\*]+).*$/\3\4/P/e</string>
</RegexPatterns>
<Show>true</Show>
<TrackCaret>true</TrackCaret>
<IconFilename>python_method.png</IconFilename>
<ForeColor>-16777216</ForeColor>
</TagType>
</value>
</item>
<item>
<key>
<string>p</string>
</key>
<value>
<TagType>
<Description>Procedure</Description>
<BuildIn>false</BuildIn>
<RegexPatterns>
<string>/^([]|\t)*(Procedure)([]*)([0-9а-яА-Яa-zA-Z_\.\,'\"\`\(\)\*]+).*$/\3\4/p/ei</string>
</RegexPatterns>
<Show>true</Show>
<TrackCaret>true</TrackCaret>
<IconFilename>pascal_procedure.png</IconFilename>
<ForeColor>-16777216</ForeColor>
</TagType>
</value>
</item>
</TagTypes>
</Language>
</value>
</item>
</SerializableDictionaryOfStringLanguage>