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

From: "Sammy Mitchell" 
@Date: Wed, 11 Dec 2002 11:54:59 -0500
@Sender: semware-owner{at}sawasdi.apana.org.au



>When I upgraded to 3.0 I decided to try the Win32 keyboard
>shortcuts, and "pairing" of quotes/parens/braces when
>initially configuring.  I can't seem to find how to undo
>this, possibly because while I was recalled to active
>
>I'd like to go completely back to TSE clipboard style.  And
>I would like C mode to not get in the way of the
>autoclosure of parens and braces.  Does anyone have some
>Instawisdom on this?
>
>Clarifying the problem always helps .  I want Ctrl-X to
>mean "execute a macro to be named later", not "cut to the
>Windows clipboard."  C mode gets in the way by tabbing the
>closing brace left on CR, leaving the cursor unindented

For the first problem, remove cuamark from the autoload
list.  Do this by selecting Macro, AutoLoad List, and then
delete cuamark from the list.

Alternatively, if you really want the shift-marking part of
cuamark, but don't want the clipboard key assignments, edit
the tse.ini file found in your TSEPro directory, and under
the heading:
[CUAMark]

Make sure the following options are set to "no":

UseCUACutCopyPasteKeys=no
UseCUAFindKeys=no

For the second, I now have a macro that supports the
following styles of C-mode:

  The following c/c++/java Styles are supported:

  1)    if (cond) {     KNR_STYLE (our default)
            s();
        }

  2)    if (cond) {     HALF_KNR_STYLE
            s();
            }

  3)    if (cond)       PASCAL_STYLE
        {
            s();
        }

  4)    if (cond)       HALF_PASCAL_STYLE
            {
            s();
            }

If you like, I can send you that macro.

Otherwise, to remove c-mode, you'll have to edit the .ui
file you're using (ugly, I know) and look for the procedure
called OnChangingFiles():

proc OnChangingFiles()

In there, find the following code:

    when ".c", ".h", ".cpp", ".cc",
".hpp", ".java"
        language = TRUE
        cmode = TRUE

Either comment out or delete the line that says:
 "cmode = TRUE"

And then your c-mode problems will be gone forever!

Obligatory sales pitch: And of course, all of this will work
even better in v4.0!  Get it while it lasts!

--
Sammy Mitchell

--
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™.