Вверх ↑
Ответов: 2059
Рейтинг: 132
#1: 2019-07-02 11:25:22 ЛС | профиль | цитата
theSever, во всех текстовых редакторах сделанных на Scintilla - notepad++, AkelPad... есть такой функционал. Но это сделано разработчиками различных notepad-дов.
Но в самой Scintilla этого нет. Делаю умозрительное заключение, потому что у меня нет описания API. Однако, во всех средах разработки такого функционала нет.
Думаю, что это легко делается даже на кубиках, а не то что в IC.

Любой функционал не выведенный, как точка, но присутствующий в Scintilla можно задействовать подачей сообщения.
В примере отмечено сноской

Add(MainForm,2953706,70,63)
{
Width=899
Height=515
Position=1
Point(onClose)
Point(Close)
link(onCreate,5598446:doEvent1,[])
link(onClose,3627914:doEvent1,[(115,90)(115,139)])
link(Close,4118197:GetData,[])
}
Add(FormatStr,13175459,434,378)
{
DataCount=4
Mask="Ln - %1 Col - %2 Length - %3 Pos - %4"
link(onFString,3267962:doText,[])
link(Str1,13351448:LinePosition,[])
link(Str2,13351448:StrPosition,[])
link(Str3,13351448:TextLength,[])
link(Str4,13351448:Position,[])
}
Add(StatusBar,3267962,483,378)
{
Panels=#5: =250|5: =250|
}
Add(Message,8784789,763,21)
{
Message="Поиск окончен"
Caption="сообщение редактора"
}
Add(If_else,1233557,714,21)
{
Op2=Integer(-1)
link(onTrue,8784789:doMessage,[])
}
Add(ChildPanel,14191355,427,56)
{
@Hint=#7:Toolbar|
@Color=16755285
link(onEvent1,7832789:In,[])
link(onEvent2,7292818:In,[])
link(onEvent3,14640944:In,[])
link(onEvent4,16501083:In,[])
link(onEvent5,8840974:In,[])
link(onEvent6,12159197:In,[])
link(onEvent7,13351448:doSearch,[(471,104)(471,172)(401,172)(401,251)])
link(onEvent8,13351448:doSetZoom,[(471,111)(471,172)(401,172)(401,265)])
link(onEvent9,13351448:doFoldAll,[(471,118)(471,172)(401,172)(401,307)])
link(onEvent10,188693:In,[])
link(onEvent11,16359938:In,[(471,132)(471,139)])
link(Data1,9888579:Var2,[])
AddHint(62,-23,51,13,@Hint)
}
BEGIN_SDK
Add(EditMulti,329849,21,21)
{
EventCount=11
WorkCount=2
DataCount=1
VarCount=1
Width=531
Height=459
link(doWork1,11849105:doData,[(45,27)(45,139)])
link(doWork2,3856502:doWork2,[(45,34)(45,153)])
link(Var1,14538192:Var,[])
}
Add(Panel,14536046,70,35)
{
Width=891
Height=28
Align=2
WinStyle=1
Layout="parent.main"
WidthScale=100
HeightScale=11
BevelInner=0
}
Add(BitBtn,13653897,70,189)
{
Left=105
Top=2
Width=24
Height=24
Frame=1
Caption=""
Data=Integer(0)
Bitmap=[ZIP3604000078DA73F235636100033320D600620128666450804840E591C17F2AC3B5960C0C4B9D18187A3451CD068961134786C7A218E0EA90D582D8307341342E334072C87C983A5CE2D8F423CB61D30F72232EFD20396477C2F4C1D884DC8F1E0673BC24187A92BDE07A09851F3AEC29CE6670727262480E7222391E417AE7B454C3312966C0F46E5D3A07CC07D1C49A81AE1706893103975E62CDC0A717DD0C5C72C4840FB1EAE801019558BFBA]
Point(doBitmap)
link(onClick,9708500:doWork2,[])
}
Add(BitBtn,12748017,126,196)
{
Left=129
Top=2
Width=24
Height=24
Frame=1
Caption=""
Data=Integer(1)
Bitmap=[ZIP3604000078DA95922D1283301046B7333D408F50D9137080FA5E005B89ACC42273845A2412898D8C44C6464646A69B84A10B49F8C9CE1324FBD87C03CF577105BF0AE481DC262E700F07D3395D36513D63C0CA72179B29E75BA3C0689946895DDFF74981F0051AF71C47E6DBB14DB2F6D77983AFA3D9460EFEEECEFF56EF6CDED957F1FD8D1A27BFCAE6F5BE35F9FBE33BDAFA93CD3BFBD8E7301E119EB14F4B99F0FF79836F09C6E3BC917318BA0EFA26E12BB1E9BB7DCAC22779633FE0F6755F016775FCBD49DEF51CCAD034E9FFE544DEA37E2EEFBEBF9D37E59FC94BEB078E103C36]
Point(doBitmap)
link(onClick,9708500:doWork3,[(172,202)])
}
Add(BitBtn,5150928,182,196)
{
Left=153
Top=2
Width=24
Height=24
Frame=1
Caption=""
Data=Integer(2)
Bitmap=[ZIP3604000078DA8D932172C4300C45D5991EA047286C2FB00728EF6916960606069A1A06069A1A061A8A0A1A1AAAB2E5EC7A1CA7D364DE2413E77D59BBCAD7F7ED15CA71133E84B7CA0BBCEB425D6F0F6ECE4F8305FB73FF17BD3B87085348B07B071C1152240187B47EA9490C4B649813173F5150D03738BDCAF32B7F8A878FC0B457A765ECAFE2D9A819EA5357FF6F7F13EFC8287EED3DEFE1E070239DFB77E239E97DADFD738AEA357B67DC3443B27BDFE7BA4933D44F2543F7D1FE0F34ACBF8B8F49331E3EB322F749C85E701BF8D50E7DE29AD1FB15DC3DD07A177F3ECD4E102FB166E8FC90FE0699A85792E7D9CDEFF77EAE9B6BA4EA5F3179BCF4738FABDFC10ED8420094EC3CDF577EEECF5933FC569C5980A4A705CFFE638682AC1B0384E139FF42D9B7B130EF3474FBEFD72CF38963AD777E0159FA4934]
Point(doBitmap)
link(onClick,10101044:doWork3,[(228,202)])
}
Add(ChildPanel,11486214,294,35)
{
}
BEGIN_SDK
Add(EditMulti,4152236,21,21)
{
}
Add(Panel,5211733,35,105)
{
Left=557
Top=2
Width=4
Height=24
BevelInner=1
}
END_SDK
Add(BitBtn,9727035,238,196)
{
Left=177
Top=2
Width=24
Height=24
Frame=1
Caption=""
Data=Integer(3)
Bitmap=[ZIP3604000078DA73F235636100033320D600620128666450804840E591C17F2AC1BCBC3C3026476F65FC2B064D86FB0CF61ACB18525353F1AA4D0AD8C4A0C77E03AB7E03AEDB0CC17E5938CD70D33C0C5617E5B60DA71B6C652E31C4C7C763C85B499C05DB8B4D2F0C5625BC069B116471982125258524BDE866049A1F66080E886330163ACEA0C3769D28BDE87E01E9D366BDC69095D443729CE873DC049BE1AE7D8464FDC8FE35E37FC010694BBC1B407AD1E3C859FE118397C65D8266588A9FC119BFF10ECF194CF9EEE334039F5E6433406AD0C51D651F80C541E98B9CF46F26F090C157E721D5F222291000B3EDC6C9]
Point(doBitmap)
link(onClick,15082712:doWork3,[(284,202)])
}
Add(BitBtn,14734867,294,196)
{
Left=201
Top=2
Width=24
Height=24
Hint="Выделить всё"
Frame=1
Caption=""
Data=Integer(4)
Bitmap=[ZIP3603000078DA73F235636600033320D600620128666490804840E591C17F86FFA4A2331EF670448C2C56655835223318F0024CF5C49B0F4104CDA7108D1CF3075BFC92943E01EFD07536]
Point(doBitmap)
link(onClick,4533302:doWork3,[(340,202)])
}
Add(BitBtn,5137664,70,245)
{
Left=229
Top=2
Width=24
Height=24
Frame=1
Caption=""
Data=Integer(0)
Bitmap=[ZIP3604000078DA73F235636100033320D600620128666450804840E591C1FF5148326CC1116E2071744C897E52DD40AC5E42FAF1B991907E5CE611E37F7C7691E2B751483C0400A89AD624]
Point(doBitmap)
link(onClick,891618:doWork2,[])
}
Add(BitBtn,5394845,126,252)
{
Left=254
Top=2
Width=24
Height=24
Frame=1
Caption=""
Data=Integer(1)
Bitmap=[ZIP3603000078DA73F235636600033320D600620128666490804840E591C17F86FFC300B590E8114CF5401164448CE1A4AA47D642A4F9702DF8DD8FA606AB81B85C3BC21100C6F2D61A]
Point(doBitmap)
link(onClick,891618:doWork3,[(172,258)])
}
Add(ChildPanel,9006535,182,35)
{
}
BEGIN_SDK
Add(EditMulti,3004735,21,21)
{
}
Add(Panel,13404147,35,105)
{
Left=225
Top=2
Width=4
Height=24
BevelInner=1
}
END_SDK
Add(BitBtn,3932359,70,301)
{
Left=281
Top=2
Width=24
Height=24
Hint="Начать поиск / искать далее"
Frame=1
Caption=""
Bitmap=[ZIP3604000078DA73F235636100033320D600620128666450804840E591C1FF4100B10152D481E9FFC4E9C7A68E1AFA710152E4FFE351FAFFFF7F92F523EBA1A57E427EC4E7776AC70FB1E14F4C5A24461C9F1F8811A7B6FDA4420052950D6F]
Point(doBitmap)
link(onClick,4607391:doEvent2,[])
}
Add(Edit,10418575,301,266)
{
Left=307
Top=3
Width=200
Height=22
Color=13356221
Font=[MS Sans Serif,8,0,0,204]
Text="Строка поиска"
Point(onSetFocus)
link(onEnter,4607391:doEvent1,[(345,279)(345,300)])
link(onSetFocus,7478759:doOn,[])
}
Add(BitBtn,13559680,126,308)
{
Left=509
Top=2
Width=24
Height=24
Frame=1
Caption=""
Bitmap=[ZIP3603000078DAC592216FC5201080BBEC0F4C3E3BB7CA9A97D4563699416291C84A2C1289C42291482C1279125B5959D977F475CD1B4BB6892523774D9BFBBEE3021DDEAFCFCDBEAE986F982F473E35977BE1A83FAEADD9FE3D8874AFCC30ED7F0353E5890ACAE70BD53FC25C07A6A3893333B1E5B6AA4270E014580956242BADD1934D2E2DF8EC85ABE01CEC92DC9AD33A43891C7330BDE8DBA96B795FC3C92FC96F4B466C85B0822F2F33F472206E42A5E24BE7D233156C579863A321C432E6C5A04927BA470BF9A3F94750C7443453D03C28E625F5029593C701763E9D3C0F9CFAD21C2D6AF9A0468C9A3F463AAD848A4C76B4A49A7F8652FDA4CC809F3C4CA8E06C5FAF66C98772066E9AA3FBE636CB2EF7C384FD78FFE2DFBB01C8260AE7]
Point(doBitmap)
link(onClick,4739320:doNext,[])
}
Add(BitBtn,8619600,182,315)
{
Left=533
Top=2
Width=24
Height=24
Frame=1
Caption=""
Bitmap=[ZIP3603000078DAC552A16EC33010CDB41F180C0D5BE148A5D2C24A2381A5868181A1868686A6868686A68186078F1A1A1ABAE7D48BDA28DA0626CD7A17C5BAF7EE9ECF3E7F1E5F9B651D29DE29DE6ABC34ED3D51F38F2B37F9DFD173D331C5A4FD0DF92A6C2F9CB0D85EE58FE4413A26673507A6E6C3A0375970068C00CD414F5E73ADE4A8BDF191BEA7C96CC8E874F426A14F010A7046A748C50D5CF8D6397A1BBDCD118996C025B0E527004994DCB15D2A979ABED016C938A6BE4F97733A7DC44317BBB6E0915F8B7F6118B2D4892054E43272F1C427030BDFAFFC8967923096D72E842DBF5A5A55E5EC6877FC0728D9274900DAD21068C8BB5713B14A5650539CCD37B759BADC8709CB78FFE2EDDD00DCA51A88]
Point(doBitmap)
link(onClick,4739320:doPrev,[])
}
Add(Hub,4607391,357,294)
{
InCount=2
OutCount=1
link(onEvent1,329849:onEvent7,[(461,300)(461,69)])
}
Add(Switch,7478759,385,266)
{
Point(doOn)
link(onSwitch,10418575:doText,[(429,272)(429,260)(289,260)(289,272)])
}
Add(Button,12364101,462,427)
{
Left=685
Top=2
Width=130
Height=24
Caption="уст. цвет. схему(тест)"
Data=Integer(0)
link(onClick,329849:onEvent11,[(527,433)(527,97)])
}
Add(HubEx,9708500,168,189)
{
link(onEvent,10101044:doWork2,[])
}
Add(HubEx,10101044,224,189)
{
link(onEvent,15082712:doWork2,[])
}
Add(HubEx,15082712,280,189)
{
link(onEvent,4533302:doWork2,[])
}
Add(HubEx,891618,168,245)
{
link(onEvent,329849:onEvent6,[(461,251)(461,62)])
}
Add(HubEx,4533302,336,189)
{
link(onEvent,329849:onEvent5,[(461,195)(461,55)])
}
Add(CounterEx,4739320,238,308)
{
Min=-10
Max=20
Point(doPrev)
link(onNext,329849:onEvent8,[(461,314)(461,76)])
}
Add(Switch,6449983,126,364)
{
DataOn=Integer(0)
DataOff=Integer(1)
Point(onOn)
Point(onOff)
link(onOn,1934654:doWork2,[])
link(onOff,1934654:doWork3,[(172,384)])
}
Add(HubEx,1934654,168,371)
{
link(onEvent,329849:onEvent9,[(461,377)(461,83)])
}
Add(BitBtn,4757780,70,364)
{
Left=561
Top=2
Width=24
Height=24
Hint="Свернуть / развернуть всё"
Frame=1
Caption=""
Data=Integer(4)
Bitmap=[ZIP3603000078DA73F235636600033320D600620128666490804840E591C17F86FFE4A1331EF610046433E00068EA49351FCE1E359F12F3E131058F2F82266F78F21E8288515F5F5FAF5EFF1F82806CAA9B4FAAFB4942009B21A020]
Point(doBitmap)
link(onClick,6449983:doSwitch,[])
}
Add(ChildPanel,9853742,238,35)
{
}
BEGIN_SDK
Add(EditMulti,14527347,21,21)
{
}
Add(Panel,724573,35,105)
{
Left=277
Top=2
Width=4
Height=24
BevelInner=1
}
END_SDK
Add(ChildPanel,2316769,126,35)
{
}
BEGIN_SDK
Add(EditMulti,11539631,21,21)
{
}
Add(Panel,1167596,35,105)
{
Left=100
Top=2
Width=4
Height=24
BevelInner=1
}
END_SDK
Add(BitBtn,16661668,70,84)
{
Top=2
Width=24
Height=24
Frame=1
Caption=""
Data=Integer(0)
Bitmap=[ZIP3604000078DA95912D6EC430104667A51EA04758D813EC010A2BF5240B03971A0606861A061A9A1A0E340C35749941813B4E1CCB7F59751D3D2972F4BE7C1E7F7EDFDE605B37E283788F5CE0BA7F88DFF3E5E323187B199F3D8ACFE0AD066714B85512029C5E080E1667624A383D3FF191DC98A145E6E7191D7FE1E41BF27B194B9571E2BBCCDFCEA1E239DA8CDA47B180F72EEBF0BC47ED6BF27F7EE9CDD9F21CA9874CF30C34BE14D17731633DC9D87B9CF96546679E611E44EDAF999F32C82F7AACB187EEF8AAF4EB8C1D0D867C25DBFEA6E3A77912A183E2746FD3086264FFF6B70CBA578308721CC00A827F8162F7C2B7284FFD80D1086A7A805703E03414EEF1FF34F70EE1FFC1C79935EEE15B2C097BC77EB85FC91E8DF707104D60E5]
Point(doBitmap)
link(onClick,13538912:doEvent1,[(117,90)(117,83)])
}
Add(BitBtn,729037,126,91)
{
Left=25
Top=2
Width=24
Height=24
Frame=1
Caption=""
Data=Integer(0)
Bitmap=[ZIP3604000078DA8D922D0F833010866FC9C4E4247273DB1F2099452E9999C44E2227B14824B2969F80AC452227B195C8CAEE5A4AD3D0E3A3CD93CB71F7BEE59A26AFF80866C5C80D395B0E70190BB6EE2F657794B35D28624755BB9F9947C45A03530AB2DF3677C6E1F4AD037D2EA4F1C8C50ABD82A4E903FDB5EEE0C17F465F0C2BA047C287409F34C278D4A8AFE43A6F2E20E59DF3D07A3D978EA51C6758236DD107A3AF2FAC3EE33D28AC69A48D73F40C6AAEC7D99EAD7077B9075FCF70AE92803ADFE8BD37A07345CCE97A91A53579E8BBA7CEF1DF1900330AC367CCFDBAF6F0A1DEB9F320F4611F23BEDBDA86DEEFA5F225FFA5FFA0FAA7FC0FB613DD28]
Point(doBitmap)
link(onClick,329849:onEvent2,[(461,97)(461,34)])
}
Add(BitBtn,8505985,182,98)
{
Left=50
Top=2
Width=24
Height=24
Frame=1
Caption=""
Data=Integer(0)
Bitmap=[ZIP3604000078DACD902F0E833014877F4B76801D61721643824592CC70058E809C9D44227B854A646D65E5646D8F8064EF154A10D0342159D6E613F4BDEFFDA17CE657F893130FE2B670C17D0E2CF1ED99FEE4BE8A02A2AA20CA12C330EC22B26C86F388E0AA770BD3341E7E974240B72D2C39D334611C4738E7563FE41DF986FBD53554D7C15ABBD648F59DD690B487A41978EE5023D5B7C6C0F4BD9F434AE96B7CE82DC54FE5C8E79D63C47C8EF39E31428D98AFE9FFED91EA9FEDAF94FA797FFEE6D8D1EE01CED9BA67EF1750C8F6DB]
Point(doBitmap)
Point(doEnabled)
link(onClick,329849:onEvent3,[(461,104)(461,41)])
}
Add(BitBtn,6280825,238,105)
{
Left=75
Top=2
Width=24
Height=24
Frame=1
Caption=""
Data=Integer(0)
Bitmap=[ZIP3604000078DACD93AD0E833010C76FC91E608F30398B21C122496678051E01393B8944F6152A91B5959593B57D0464775738D225D07499D935FFA4EDDDEF3E08ADEFE5198295A81BEAB2EA04D7C5B1FA63F37FB21E5505A26940D4354CD3B42B51148B280EC5AC7AF660BA2E88EEA510A0FB1E2C32DE7B98E7199C731BCF7147BCA17A6D0B6A18C05ABBE5C8E59DD620710E893D50DF9C2397B7C68019C7D0879432E478E15D0E9FAB239E664E29C5939FE68C15FEB1E8CC3952BCC6EFC722E37D2E9FEA2187574A7DD4E5FDB7F5B73796313F9DC917CFBE278A89D95FD71B250DE3F1]
Point(doBitmap)
link(onClick,329849:onEvent4,[(461,111)(461,48)])
}
Add(DoData,11849105,70,133)
{
Data=Integer(0)
link(onEventData,5368355:doWork2,[])
}
Add(DoData,13314609,126,147)
{
link(onEventData,5368355:doWork3,[(165,153)])
link(Data,329849:Data1,[(132,129)(27,129)])
}
Add(HubEx,5368355,161,133)
{
link(onEvent,8505985:doEnabled,[(171,139)(171,118)])
}
Add(LineBreak,7529413,301,315)
{
Caption="search"
Type=1
link(Data,10418575:Text,[])
Primary=[14538192,-280,63]
}
Add(Hub,13538912,287,77)
{
link(onEvent1,329849:onEvent1,[(461,83)(461,27)])
link(onEvent2,3856502:doWork3,[(315,90)(315,165)(116,165)])
}
Add(HubEx,3856502,112,147)
{
link(onEvent,13314609:doData,[])
}
Add(ComboBox,15246612,70,413)
{
Left=590
Top=3
Width=90
Height=21
Strings=#7:Default|4:Utf8|4:Ansi|6:Arabic|6:Baltic|11:ChineseBig5|9:ChineseGb|8:Cyrillic|10:Easteurope|5:Greek|6:Hangul|6:Hebrew|8:Japanese|6:Korean|3:Mac|3:Oem|7:Russian|6:Symbol|4:Thai|7:Turkish|10:Vietnamese|10:Westeurope|
Text="Кодировка"
link(onClick,329849:onEvent10,[(461,426)(461,90)])
}
END_SDK
Add(Menu,13374062,21,63)
{
Menu=#4:Файл|1:(|5:Новый|7:Открыть|9:Сохранить|16:Сохранить как...|1:-|6:Печать|1:-|5:Выход|1:)|6:Правка|1:(|8:Отмена |6:Повтор|1:-|8:Вырезать|10:Копировать|8:Вставить|7:Удалить|12:Выделить всё|1:)|5:Поиск|1:(|8:Наити...|12:Искать далее|1:)|3:Вид|1:(|7:Масштаб|1:(|7:Крупнее|6:Мельче|1:)|1:)|9:Кодировки|1:(|1:)|10:Синтаксисы|1:(|1:)|6:Помощь|1:(|1:)|
}
Add(PopupMenuEx,5811479,770,126)
{
Menu=#8:Отменить|9:Повторить|1:-|8:Вырезать|10:Копировать|8:Вставить|7:Удалить|1:-|12:Выделить всё|
GutterLineOn=1
LongSeparator=0
Frame=1
Font=[MS Sans Serif,8,1,0,1]
SelColorLight=0
SelColorDark=0
LineColorLight=0
LineColorDark=0
CheckColor=0
SelCheckColor=0
SelColorText=16777215
Bitmaps=[]
Point(doIdxEnabled)
link(MenuItemIdx,7633943:doWork3,[(814,132)(814,118)])
}
Add(If_else,5440264,721,126)
{
Op2=Integer(1)
link(onTrue,5811479:doPopupHere,[])
}
Add(LineBreak,16314155,322,252)
{
Caption="UndoRedo"
link(Out,13351448:doUndoRedo,[])
Primary=[1070780,560,-168]
}
Add(LineBreak,3305967,322,266)
{
Caption="EditingSel "
link(Out,13351448:doEditingSelected,[])
Primary=[11234149,560,-161]
}
Add(DoData,15527572,210,322)
{
Data=Integer(1)
link(onEventData,9302542:doWork2,[])
link(Data,4438762:Text,[])
}
Add(Hub,3627914,126,133)
{
link(onEvent1,11430100:In,[])
link(onEvent2,6535050:In,[])
}
Add(StrList,3708775,840,203)
{
FileName="fold.txt"
Point(doLoad)
Point(doSave)
}
Add(Hub,5598446,126,77)
{
OutCount=4
link(onEvent1,4480683:In,[])
link(onEvent2,15731596:In,[])
link(onEvent3,6907959:In,[])
}
Add(LineBreak,8618133,378,378)
{
Caption="infSet"
link(Out,13175459:doString,[])
Primary=[2553646,203,-168]
}
Add(InfoTip,4327450,672,63)
{
Info=#12:UserPoupMenu|
Font=[MS Sans Serif,8,1,0,1]
Width=288
Height=102
}
Add(InfoTip,12687411,672,182)
{
Info=#38:Сворачивание кода при старте (фолдинг)|
Font=[MS Sans Serif,8,1,0,1]
Width=288
Height=144
}
Add(LineBreak,1940982,735,84)
{
Caption="UndoRedo"
link(Out,7633943:doWork1,[(813,90)(813,104)])
Primary=[12159197,-182,7]
}
Add(LineBreak,12248466,735,105)
{
Caption="EditingSel "
link(Out,7633943:doWork2,[])
Primary=[8840974,-252,-21]
}
Add(LineBreak,10461985,266,273)
{
Caption="setFold"
link(Out,13351448:doSetLineFold,[])
Primary=[388704,588,7]
}
Add(Timer,8910277,686,231)
{
@Hint=#66:Пару квантов на раздумья, иначе фолдинг отображается не правильно.|
Interval=20
Enable=1
AutoStop=1
link(onTimer,14720760:doEvent1,[])
AddHint(-179,57,193,26,@Hint)
}
Add(LineBreak,7543935,854,259)
{
Caption="arrF"
Type=1
link(Data,3708775:Array,[])
Primary=[9897633,-420,-84]
}
Add(Hub,7138445,784,231)
{
link(onEvent1,3708775:doLoad,[])
link(onEvent2,388704:In,[(819,244)(819,286)])
}
Add(LineBreak,14657336,721,294)
{
Caption="close"
link(Out,233943:doEvent1,[])
Primary=[11430100,-567,-161]
}
Add(Hub,233943,784,294)
{
OutCount=3
link(onEvent1,3708775:doClear,[(811,300)(811,216)])
link(onEvent2,12861454:In,[])
link(onEvent3,3708775:doSave,[(829,314)(829,244)])
}
Add(LineBreak,3655754,336,280)
{
Caption="getFold"
link(Out,13351448:doGetLineFold,[])
Primary=[12861454,518,21]
}
Add(LineBreak,1529577,742,203)
{
Caption="saveFold"
link(Out,3708775:doAdd,[])
Primary=[6692073,-245,14]
}
Add(StrList,4842023,840,357)
{
FileName="mark.txt"
Point(doLoad)
Point(doSave)
}
Add(InfoTip,14927316,672,336)
{
Info=#29:Установка маркеров при старте|
Font=[MS Sans Serif,8,1,0,1]
Width=288
Height=151
}
Add(LineBreak,10403416,252,287)
{
Caption="setMarker"
link(Out,13351448:doMarkerAdd,[])
Primary=[4016027,651,126]
}
Add(Hub,1008111,784,385)
{
link(onEvent1,4842023:doLoad,[])
link(onEvent2,8385687:doEnum,[(821,398)(821,419)])
}
Add(LineBreak,5712678,728,448)
{
Caption="close"
link(Out,2154642:doEvent1,[])
Primary=[6535050,-574,-308]
}
Add(Hub,2154642,784,448)
{
OutCount=3
link(onEvent1,4842023:doClear,[(811,454)(811,370)])
link(onEvent2,10365951:In,[])
link(onEvent3,4842023:doSave,[(829,468)(829,398)])
}
Add(LineBreak,14868832,322,294)
{
Caption="getMarker"
link(Out,13351448:doGetLineMarker,[])
Primary=[10365951,532,161]
}
Add(LineBreak,6827908,728,357)
{
Caption="saveMarker"
link(Out,4842023:doAdd,[])
Primary=[4875123,-147,-133]
}
Add(ArrayEnum,8385687,854,413)
{
link(onItem,4016027:In,[])
link(Array,4842023:Array,[])
}
Add(LineBreak,9863500,301,133)
{
Caption="new"
link(Out,5612599:doNew,[])
Primary=[7832789,182,-77]
}
Add(LineBreak,12018076,294,147)
{
Caption="save"
link(Out,5612599:doSave,[])
Primary=[14640944,189,-77]
}
Add(LineBreak,6928414,252,140)
{
Caption="open"
link(Out,5612599:doOpen,[])
Primary=[7292818,301,-77]
}
Add(LineBreak,1638764,238,154)
{
Caption="save as"
link(Out,5612599:doSaveAs,[])
Primary=[16501083,315,-77]
}
Add(LineBreak,7109576,350,56)
{
Caption="start"
link(Out,12699922:doWork2,[])
Primary=[4480683,-196,21]
}
Add(LineBreak,4876982,287,63)
{
Caption="Change"
link(Out,14191355:doWork2,[])
Primary=[10535650,210,140]
}
Add(LineBreak,11361554,462,350)
{
Caption="Modify"
Type=1
link(Data,13351448:GetModify,[])
Primary=[7246014,-35,-336]
}
Add(GetDataEx,9888579,427,35)
{
link(Data,7246014:Var,[])
}
Add(Hub,12109920,553,252)
{
link(onEvent1,15480123:In,[])
link(onEvent2,8910277:doTimer,[(665,265)(665,237)])
}
Add(HubEx,12699922,399,56)
{
link(onEvent,14191355:doWork1,[])
}
Add(LineBreak,7819103,336,42)
{
Caption="onLoad"
link(Out,15123034:doWork2,[])
Primary=[15480123,245,210]
}
Add(LineBreak,15543159,336,28)
{
Caption="onSave"
link(Out,15123034:doWork1,[(403,34)])
Primary=[16374525,161,217]
}
Add(HubEx,15123034,399,42)
{
Angle=1
link(onEvent,12699922:doWork1,[])
}
Add(Hub,14720760,728,231)
{
link(onEvent1,7138445:doEvent1,[])
link(onEvent2,1008111:doEvent1,[(767,244)(767,391)])
}
Add(LineBreak,3893969,294,161)
{
Caption="close"
link(Out,5612599:doClose,[])
Primary=[8077328,-182,-140]
}
Add(EventFromData,4118197,70,21)
{
link(onEvent,8077328:In,[])
}
Add(LineBreak,2422279,413,350)
{
Caption="text"
Type=1
link(Data,13351448:Text,[])
Primary=[6965750,-49,-273]
}
Add(MultiElement,7633943,826,98)
{
link(onEvent1,1070780:In,[(874,104)(874,90)])
link(onEvent2,11234149:In,[])
}
BEGIN_SDK
Add(EditMulti,3390836,21,21)
{
EventCount=2
WorkCount=3
link(doWork1,3391511:doWork2,[])
link(doWork2,5240325:doWork2,[])
link(doWork3,6580204:doEvent,[])
}
Add(IndexToChanel,6580204,42,35)
{
Count=9
link(onEvent1,7322656:doData,[])
link(onEvent2,14375864:doData,[])
link(onEvent4,13151892:doData,[])
link(onEvent5,15787351:doData,[])
link(onEvent6,9552231:doData,[])
link(onEvent7,5771532:doData,[])
link(onEvent9,5332694:doData,[])
}
Add(DoData,7322656,98,35)
{
Data=Integer(0)
link(onEventData,13663162:doWork2,[])
}
Add(DoData,14375864,98,42)
{
Data=Integer(1)
link(onEventData,13663162:doWork3,[(151,48)])
}
Add(DoData,13151892,98,56)
{
Data=Integer(0)
link(onEventData,14267945:doWork2,[])
}
Add(DoData,15787351,98,63)
{
Data=Integer(1)
link(onEventData,5658367:doWork2,[])
}
Add(DoData,9552231,98,70)
{
Data=Integer(2)
link(onEventData,15561842:doWork2,[])
}
Add(DoData,5771532,98,77)
{
Data=Integer(3)
link(onEventData,15365511:doWork2,[])
}
Add(DoData,5332694,98,91)
{
Data=Integer(4)
link(onEventData,15365511:doWork3,[(165,97)])
}
Add(HubEx,3391511,147,21)
{
link(onEvent,3390836:onEvent1,[])
}
Add(HubEx,13663162,147,35)
{
Angle=3
link(onEvent,3391511:doWork3,[])
}
Add(HubEx,14267945,161,56)
{
Angle=3
link(onEvent,5240325:doWork3,[])
}
Add(HubEx,5658367,161,63)
{
Angle=3
link(onEvent,14267945:doWork3,[])
}
Add(HubEx,15561842,161,70)
{
Angle=3
link(onEvent,5658367:doWork3,[])
}
Add(HubEx,5240325,161,28)
{
link(onEvent,3390836:onEvent2,[])
}
Add(HubEx,15365511,161,77)
{
Angle=3
link(onEvent,15561842:doWork3,[])
}
END_SDK
Add(LineBreak,2040133,21,21)
{
Caption="close"
link(Out,4118197:doData,[])
Primary=[8543666,392,133]
}
Add(MultiElementEx,5612599,357,126)
{
@Hint=#11:Открытие и |16:сохранение файла|
@Color=13421772
link(clear,13351448:doClear,[(401,132)(401,216)])
link(emptyUndoBuffer,13351448:doSetEmptyUndoBuffer,[(401,139)(401,314)])
link(onOpen,13351448:doLoad,[(401,146)(401,237)])
link(onSave,13351448:doSave,[(401,153)(401,244)])
link(onClose,8543666:In,[])
link(modify,9888579:Var1,[(363,40)])
link(text,6965750:Var,[])
link(filePath,9550184:Var,[])
}
BEGIN_SDK
Add(EditMultiEx,3769649,21,21)
{
WorkCount=#5:start|5:doNew|6:doOpen|6:doSave|8:doSaveAs|7:doClose|
EventCount=#5:clear|15:emptyUndoBuffer|6:onOpen|6:onSave|7:onClose|0:|
DataCount=#6:modify|4:text|8:filePath|
Width=650
Height=781
VOffset=63
HOffset=56
link(start,11315350:doData,[])
link(doNew,1802459:doCompare,[(45,97)(45,202)])
link(doOpen,4767403:doCompare,[(45,104)(45,363)])
link(doSave,5224650:doCompare,[(45,111)(45,517)])
link(doSaveAs,8372197:doExecute,[(45,118)(45,580)])
link(doClose,14065643:doCompare,[(45,125)(45,678)])
}
Add(If_else,1802459,70,196)
{
Op2=Integer(1)
link(onTrue,2456009:doCompare,[])
link(onFalse,7510127:doWork2,[(128,209)(128,153)])
link(Op1,15738390:getVar,[])
}
Add(SDialog,16721823,294,252)
{
link(onExecute,11805839:doEvent1,[(337,258)(337,265)])
}
Add(SDialog,5861209,126,518)
{
link(onExecute,8629858:doEvent1,[])
}
Add(ODialog,13534061,476,308)
{
Filter="pas|*.pas|dpr|*.dpr|pp|*.pp|txt|*.txt|lua|*.*lua|html|*.html|h|*.h|cxx|*.cxx|cpp|*.cpp"
link(onExecute,13200983:doEvent1,[])
}
Add(FilePartElm,10492697,399,56)
{
link(onPart,10740941:doString,[])
}
Add(Memory,15737286,350,56)
{
@Hint=#30:путь к файлу для всех операций|
Default=String()
link(onData,10492697:doPart,[])
}
Add(FormatStr,10740941,448,56)
{
Mask="Сохранить изменения в %1?"
Point(FString)
}
Add(Message,5336097,196,196)
{
Caption="Сообщение редактора"
Type=3
link(onMessage,13017961:doCase,[])
link(Message,14918083:getVar,[])
}
Add(If_else,2456009,140,196)
{
Type=5
Op2=String()
link(onTrue,5336097:doMessage,[])
link(onFalse,12704553:doMessage,[(184,209)(184,251)])
link(Op1,5098534:getVar,[])
}
Add(Message,12704553,196,245)
{
Message="Сохранить изменения?"
Caption="Сообщение редактора"
Type=3
link(onMessage,6412338:doCase,[])
}
Add(Case,13017961,245,196)
{
Value=Integer(6)
link(onNextCase,1673064:doCase,[])
link(onTrue,557981:doData,[(288,209)(288,216)])
}
Add(DoData,557981,427,210)
{
link(onEventData,3595526:doEvent1,[])
link(Data,13043431:getVar,[])
}
Add(Case,1673064,294,196)
{
Value=Integer(7)
link(onTrue,14221084:doWork2,[])
}
Add(Case,6412338,245,245)
{
Value=Integer(6)
link(onNextCase,848201:doCase,[])
link(onTrue,16721823:doExecute,[])
}
Add(Case,848201,350,245)
{
Value=Integer(7)
link(onTrue,14221084:doWork3,[(396,258)])
}
Add(HubEx,7510127,392,147)
{
link(onEvent,8102798:doEvent1,[])
}
Add(Hub,11805839,399,259)
{
link(onEvent1,6972024:doEvent1,[])
link(onEvent2,12856761:In,[])
}
Add(If_else,5224650,70,511)
{
Type=5
Op2=String()
link(onTrue,8198110:doData,[])
link(onFalse,5861209:doExecute,[])
link(Op1,7962124:getVar,[])
}
Add(Hub,8629858,175,518)
{
link(onEvent1,12813450:doEvent2,[])
link(onEvent2,11573200:In,[])
}
Add(Hub,850780,315,56)
{
InCount=6
OutCount=1
link(onEvent1,15737286:doValue,[])
}
Add(HubEx,14221084,392,203)
{
Angle=3
link(onEvent,7510127:doWork3,[])
}
Add(If_else,14065643,70,672)
{
Op2=Integer(1)
link(onTrue,6657829:doEvent1,[])
link(Op1,10213604:getVar,[])
}
Add(SDialog,13927492,385,749)
{
link(onExecute,685681:doWork3,[(560,755)])
}
Add(Message,14023364,238,672)
{
Caption="Сообщение редактора"
Type=3
link(onMessage,10182577:doCase,[])
link(Message,6978848:getVar,[])
}
Add(If_else,6203768,161,672)
{
Type=5
Op2=String()
link(onTrue,14023364:doMessage,[])
link(onFalse,6823279:doCompare,[(215,685)(215,748)])
link(Op1,999716:getVar,[])
}
Add(Message,12827134,287,742)
{
Message="Сохранить изменения?"
Caption="Сообщение редактора"
Type=3
link(onMessage,10455955:doCase,[])
}
Add(Case,10182577,287,672)
{
Value=Integer(6)
link(onTrue,4826095:doData,[])
}
Add(Case,10455955,336,742)
{
Value=Integer(6)
link(onTrue,13927492:doExecute,[])
}
Add(DoData,4826095,336,679)
{
link(onEventData,685681:doWork2,[])
link(Data,5361693:getVar,[])
}
Add(Hub,6657829,119,672)
{
link(onEvent1,6203768:doCompare,[])
link(onEvent2,12243338:In,[(147,685)(147,720)])
}
Add(LineBreak,3508745,616,112)
{
Caption="close"
link(Out,3769649:onClose,[])
Primary=[12243338,-455,602]
}
Add(If_else,6823279,238,742)
{
Type=5
Op2=String()
link(onTrue,12827134:doMessage,[])
link(Op1,12442901:Var,[])
}
Add(LineBreak,13269396,84,49)
{
Caption="text"
Type=1
link(Data,3769649:text,[])
Primary=[12442901,154,665]
}
Add(LineBreak,11922783,252,56)
{
Caption="reset"
link(Out,850780:doEvent1,[])
Primary=[12397481,203,105]
}
Add(Hub,8102798,427,147)
{
InCount=3
OutCount=3
link(onEvent1,3769649:clear,[(546,153)(546,90)])
link(onEvent2,6048168:doWork2,[(553,160)(553,97)])
link(onEvent3,12397481:In,[])
}
Add(LineBreakEx,14918083,196,168)
{
Caption="name"
Type=2
}
Add(LineBreakEx,14903817,448,105)
{
Caption="name"
Type=3
link(_Data,10740941:FString,[])
}
Add(LineBreakEx,5133712,350,105)
{
Caption="patch"
Type=3
link(_Data,15737286:Value,[])
}
Add(LineBreakEx,5098534,140,168)
{
Caption="patch"
Type=2
}
Add(LineBreakEx,13043431,427,182)
{
Caption="patch"
Type=2
}
Add(LineBreakEx,12717521,77,70)
{
Caption="modify"
Type=3
link(_Data,3769649:modify,[])
}
Add(LineBreakEx,15738390,70,168)
{
Caption="modify"
Type=2
}
Add(InfoTip,9059315,133,35)
{
Info=#42:Путь к файлу и имя файла для всех операций|
Font=[MS Sans Serif,8,1,0,1]
Width=365
Height=95
}
Add(DoData,11315350,140,84)
{
link(onEventData,9833213:doEvent1,[])
link(Data,3769649:filePath,[(146,44)(97,44)])
}
Add(Hub,9833213,189,84)
{
link(onEvent1,850780:doEvent2,[(210,90)(210,69)])
link(onEvent2,2520929:In,[(210,97)(210,118)])
}
Add(LineBreak,2055863,504,98)
{
Caption="load"
link(Out,192382:doWork2,[])
Primary=[2520929,-266,14]
}
Add(LineBreak,4918629,238,70)
{
Caption="patch.fn"
link(Out,850780:doEvent3,[])
Primary=[12856761,196,196]
}
Add(HubEx,10977037,556,210)
{
Angle=3
link(onEvent,3769649:onSave,[(560,111)])
}
Add(Hub,3595526,518,210)
{
link(onEvent1,10977037:doWork2,[])
link(onEvent2,8102798:doEvent3,[(541,223)(541,204)(416,204)(416,167)])
}
Add(Hub,6972024,518,259)
{
link(onEvent1,3674064:doWork2,[])
link(onEvent2,8102798:doEvent2,[(541,272)(541,247)(406,247)(406,160)])
}
Add(InfoTip,9812888,56,140)
{
Info=#3:New|
Font=[MS Sans Serif,8,1,8388608,1]
Width=526
Height=151
}
Add(If_else,4767403,70,357)
{
Op2=Integer(1)
link(onTrue,861140:doCompare,[])
link(onFalse,3636740:doWork2,[(128,370)(128,314)])
link(Op1,9953864:getVar,[])
}
Add(SDialog,8059212,294,413)
{
link(onExecute,6085763:doEvent1,[(337,419)(337,426)])
}
Add(Message,6620872,196,357)
{
Caption="Сообщение редактора"
Type=3
link(onMessage,3886469:doCase,[])
link(Message,14800372:getVar,[])
}
Add(If_else,861140,140,357)
{
Type=5
Op2=String()
link(onTrue,6620872:doMe
карма: 6

0
Редактировалось 3 раз(а), последний 2019-07-02 11:29:55