TIP: Click on subject to list as thread! ANSI
echo: semware
to: All
from: Michael Fisher
date: 2002-12-12 03:33:12
subject: [TSEPro] Re: tried it; don`t like it; how to change back

From: Michael Fisher 
@Date: Wed, 11 Dec 2002 09:03:13 -0800
@Sender: semware-owner{at}sawasdi.apana.org.au



Edward,

>I ran sc32.exe -b ui\tse.ui, and the MSWin keyboard shortcuts
>(Ctrl-c, Ctrl-X, Ctrl-v) persist.

 Interesting: in my TSE.UI, these keys are defined as:
         ExecMacro()
         Toggle(LineDrawing)
         GotoColumn()

So you should be getting those functions! We have to ask the 
master himself about this:

  Sammy, if you read this:
under any Windows operating systems, is there a chance the   
default OS-keys can override TSE definitions. e.g. when Tessie 
is run in a non-maximized window?

Another possibility, although a less likely one: could you be
running any other macros which might have these keys defined
the windows way?

>C mode appears to have been turned off.

By default, C mode is limited to files with extensions usually
associated with C & C++ source code: *.c, *.cpp, *.h etc. Here
is the relevant part of TSE.UI, line 1056

case Lower(CurrExt())
    when ".ui",".s", ".si",
".asm",".pas",".inc",".prg",
".bas"
        language = TRUE
    when ".c",".h",".cpp",".hpp",
".java"
        language = TRUE
        cmode = TRUE
endcase

If by chance the extension of your Perl files is the same as 
any of the ones listed, you could edit this query, or rename 
your files.

>C mode gets in the way by tabbing the closing brace left on 
>CR, leaving the cursor unindented.

That is specifically done by a procedure in line 266:

integer proc mCloseBrace()
    if cmode and PosFirstNonWhite() == 0
        TabLeft()
    endif
    return (InsertText("}"))
end

If changing the C Mode extensions does not help, you could 
disable this routine.  Then a closing "}" should no longer get 
special treatment.


--
TSEPro mailing list



---
[sawasdi.apana.org.au] (3:800/846.13)
* Origin: apana>>>>>fidonet
SEEN-BY: 633/267 270
@PATH: 800/846 1 640/954 774/605 123/500 106/1 379/1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.