mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 22:02:58 -06:00
81 lines
No EOL
3.7 KiB
C++
81 lines
No EOL
3.7 KiB
C++
topic "DocEdit";
|
||
[2 $$0,0#00000000000000000000000000000000:Default]
|
||
[i448;a25;kKO9;2 $$1,0#37138531426314131252341829483380:class]
|
||
[l288;2 $$2,0#27521748481378242620020725143825:desc]
|
||
[0 $$3,0#96390100711032703541132217272105:end]
|
||
[H6;0 $$4,0#05600065144404261032431302351956:begin]
|
||
[i448;a25;kKO9;2 $$5,0#37138531426314131252341829483370:item]
|
||
[l288;a4;*@5;1 $$6,6#70004532496200323422659154056402:requirement]
|
||
[l288;i1121;b17;O9;~~~.1408;2 $$7,0#10431211400427159095818037425705:param]
|
||
[i448;b42;O9;2 $$8,8#61672508125594000341940100500538:tparam]
|
||
[b42;2 $$9,9#13035079074754324216151401829390:normal]
|
||
[{_}%EN-US
|
||
[ {{10000@3 [s0; [*@(229)4 DocEdit]]}}&]
|
||
[s3; &]
|
||
[s1;:DocEdit`:`:class:%- [@(0.0.255)3 class][3 _][*3 DocEdit][3 _:_][@(0.0.255)3 public][3 _][*@3;3 T
|
||
extCtrl]&]
|
||
[s9; DocEdit is form of raw text editor that interprets lines as
|
||
paragraphs (wraps them).&]
|
||
[s0; &]
|
||
[s2;
|
||
@@image:875&475
|
||
們寑虁€€兇<EFBFBD>€€€€<EFBFBD>滍蒇庅皫屘夨灲挛镄彚佐侅䴓婃∈枌眍脕懁拡耿箳掚伹镒徔啧ビ慷骡斊<EFBFBD>
|
||
ぱ氬情敓鯘漂黛崫謼赌<EFBFBD>潠<EFBFBD>髥劗<EFBFBD>贪<EFBFBD>豌憺西盘爻埌曨瞥帣耽晦咣堫礂蹌耠菘<EFBFBD>蕬ǘ晔垎<EFBFBD>
|
||
諌燒卅<EFBFBD>榱鐥詧脿腺<EFBFBD>昱炽┄瑫п蟪<EFBFBD>忤菤咒钊嬀雏澂Э陕擔蚨淞嘿皙毠<EFBFBD>冄<EFBFBD><EFBFBD>矛岈娭颦
|
||
钙﹄折禑港菓抖鳍箥詷佧斊澝蹴兮釃早閯蛪瑷牏氬耷頂癀閹<EFBFBD><EFBFBD>詳伔検顾<EFBFBD>拰垦嫶扫绚缓缛
|
||
銖舀渴|屁嶒瞄目仐曓嶆凐〗门蹭螑得爬箫钔緞骥虜餀彬尡軇鍤鐫趱喠崬泭幄锌燀<EFBFBD>完盥;<EFBFBD>
|
||
愆徍橕妿<EFBFBD>丹瘠墎債袙窃厌鴺鏉釄憘恍槏墛柡豹饩泝讶蹬棰炉绒珖壃讶呬蕼楇搐嗢渐麓ィ摿
|
||
溴伐戝喇笠痊崳憡娩樒鏉哦倠詹魧牯<EFBFBD><EFBFBD>岨萏虐涇雽芍<EFBFBD>蛯鹭ペ揎滦溳姍饫暍峁寱氼獌怨茫犣
|
||
讪斊彔代瓜袣迩挸闭バ哕叓俏霂賳深鍞<EFBFBD>冤崚蛯灏晏曪畹鰪頉硰硌鲷蜚┴灑钋寚亸弘Ⅱ弑鎏
|
||
鄷韺夋珉壤壗<EFBFBD>灇游载貖彷鼥陝檀対稐谛﹦犦捑令<EFBFBD>鸭冈ぴ屏€⿰<EFBFBD><EFBFBD>接占徇ぱ惲脘翩瑑ご<EFBFBD>
|
||
毢嵑螆总婅砧陽偾傆铖阏娒公殨枩<EFBFBD>瘺葲窝<EFBFBD>故败<EFBFBD>八颓劆屨潌<EFBFBD>艚庞鐚撁缞魂<EFBFBD>炜剩<EFBFBD>嶒
|
||
姡暺酯叛覛迩閿熸<EFBFBD>ж佝ぽ萑鄬胀埥腼<EFBFBD><EFBFBD>啀客杲喨冚壳岄玩嚕耿懏嵵启贊崔曘髑葱S驖裰
|
||
貧胆嶒汴诜灭麣拨缇<EFBFBD>质齼鹳千堡<EFBFBD>覈敝:實珩櫛緡╊柔嫈パ<EFBFBD>袤詮噫<EFBFBD><EFBFBD>箯珲迣舀驴谊镊窥
|
||
鞊<EFBFBD><EFBFBD>翋媪厔繝闈<EFBFBD>砺嗐<EFBFBD><EFBFBD><EFBFBD>嘞左<EFBFBD><EFBFBD>獢望殽婍<EFBFBD>婊湵<EFBFBD>瑐粋骺芟榨芡犏愱群灤陛<EFBFBD>嵄堑<EFBFBD><EFBFBD>
|
||
迄獞裹溃∴内胩冞龓嚐<EFBFBD>柺屉骤诣<EFBFBD><EFBFBD>斝鳍ナ摑捫棾酋欥胥戢婒鰠鹃姑職聦╊丞灍┅戄啑嶕
|
||
隇<EFBFBD><EFBFBD><EFBFBD><EFBFBD>偏諈殨颌幋蕪舀渴唬<EFBFBD>嶒4渴彲<EFBFBD><EFBFBD>朋栞戨<EFBFBD>邈€<EFBFBD>
|
||
&]
|
||
[s0; &]
|
||
[s0; [/ Derived from] [^topic`:`/`/CtrlLib`/src`/TextCtrl`$en`-us`#TextCtrl`:`:class^ Tex
|
||
tCtrl]&]
|
||
[s3; &]
|
||
[s0; &]
|
||
[ {{10000F(128)G(128)@1 [s0; [* Public Member List]]}}&]
|
||
[s3;%- &]
|
||
[s5;:DocEdit`:`:SetFont`(Font`):%- [_^DocEdit^ DocEdit][@(0.0.255) `&]_[* SetFont]([_^Font^ F
|
||
ont]_[*@3 f])&]
|
||
[s2; Sets the font to be used by widget to [%-*@3 f].&]
|
||
[s3; &]
|
||
[s4;%- &]
|
||
[s5;:DocEdit`:`:SetFilter`(int`(`*`)`(int c`)`):%- [_^DocEdit^ DocEdit][@(0.0.255) `&]_[* S
|
||
etFilter]([@(0.0.255) int]_(`*[*@3 f])([@(0.0.255) int]_c))&]
|
||
[s2; [%- Sets the character filter] [%-*@3 f]. All characters keystrokes
|
||
are first altered by this function and used only if the result
|
||
is not zero.&]
|
||
[s3; &]
|
||
[s4;%- &]
|
||
[s5;:DocEdit`:`:AutoHideSb`(bool`):%- [_^DocEdit^ DocEdit][@(0.0.255) `&]_[* AutoHideSb]([@(0.0.255) b
|
||
ool]_[*@3 b]_`=_[@(0.0.255) true])&]
|
||
[s2; In AutoHideSb mode, scrollbar is only visible when it is needed
|
||
(text height is bigger than the height of the window). This mode
|
||
is active by default.&]
|
||
[s3; &]
|
||
[s4;%- &]
|
||
[s5;:DocEdit`:`:UpDownLeave`(bool`):%- [_^DocEdit^ DocEdit][@(0.0.255) `&]_[* UpDownLeave](
|
||
[@(0.0.255) bool]_[*@3 u]_`=_[@(0.0.255) true])&]
|
||
[s2; In UpDownLeave mode, Up key at the top of text or Down key at
|
||
the bottom is not processed by DocEdit, which in turn means that
|
||
it can be processed by parent Ctrl. In TopWindow, this will move
|
||
the focus to previous / next Ctrl that IsWantFocus.&]
|
||
[s3; &]
|
||
[s4;%- &]
|
||
[s5;:DocEdit`:`:NoUpDownLeave`(`):%- [_^DocEdit^ DocEdit][@(0.0.255) `&]_[* NoUpDownLeave](
|
||
)&]
|
||
[s2; Same as UpDownLeave(false).&]
|
||
[s3; &]
|
||
[s4;%- &]
|
||
[s5;:DocEdit`:`:IsUpDownLeave`(`)const:%- [@(0.0.255) bool]_[* IsUpDownLeave]()_[@(0.0.255) c
|
||
onst]&]
|
||
[s2; Tests UpDownLeave mode.&]
|
||
[s3; &]
|
||
[s0; ] |