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 ̀ێ۰̉ЏʖÁ׏ӿ њ锟Ư썝֗󆄮̰㑞سƳۈۄݿʑʈ ՉئԈà١ų㩨󳮪ǚȋ“𪚹ʃѯìᬊ Ʀ۵ǑԘƝ͉訠鎧Ԕʹˬ撌ыɨѤ ҨʣƨĿލŲΐ;̔܄п£ 񤉁ВሑИ⾛ȵ¯ޫȅʜ봤콥´ 工ȬŶղŰ֬͌إМ݊ṌԹã ڨƏКǒե܅ن唯ԩ͌̕훳؞nj߱ 팉؊̴ЩݒѼԤռߤѐ欃 Έ܊ǂՊùțѭʰܤDŽ՝猓ꬨʣ Қ锟欹͈󆍿꽆ȃݿnj懣ٝޕǴУ ؚڷ羭ǧ֣҇񙱾ዔԏތҨ¿ 쓮ҫ面†㬶滜謂եȺǵ ̃ȔʓЗ꫊šŒة݆ ꞭƿƫՅ򢎴ʏҨʻ򣴿ʏݑ〟 &] [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; ]