delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/23/08:09:55

Message-Id: <m0y6s0O-000S2iC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: sparhawk AT eunet DOT at (Gerhard Gruber), djgpp AT delorie DOT com
Date: Mon, 23 Feb 1998 10:18:15 +0000
MIME-Version: 1.0
Subject: Re: RHIDE 1.14 report
In-reply-to: <34ef117a.30924628@news.Austria.EU.net>

sparhawk AT eunet DOT at (Gerhard Gruber) wrote:

> Destination: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
> From: Gruber Gerhard
> Group: comp.os.msdos.djgpp
> Date: Fri, 20 Feb 1998 18:40:01 +0000:
> 
> >Gruber Gerhard <g DOT gruber AT sis DOT co DOT at> wrote:
> >
> >> When I switch to overwrite mode in RHIDE the behaviour is somewhat
> >> annoying.
> >> 
> >> I have activated "optimal fill" and "use tabs" and I'm used to it, by
> >> the Borland environment, that "optimal fill" is only applied to leading
> >> blanks. Rhide takes it literally and fills also in between blanks. This
> >> leads to the behaviour that if I
> >> create commentlines for headers and switch to overwrite mode that tabs
> >> get substituted by the characters I write (that's ok). BUT! :) this
> >> means that characters at the end jump toward the lead because one tab
> >> stands for multiple characters.
> >[snip]
> >
> >Short solution:
> >
> >Create a pmacro with the comment and you'll get the exactly spaces that you 
> >want. Read in the docs for it. I'll sugest you to download v2apps/edi0413b.zip 
> >to get the last version of the help too.
> 
> Thanks. I have this files. I hope that there is also some info what a pmacro
> is, because currently I don't have a clue. :)

Ok, a little description:

pmacros are pseudo-macros (full macros are supported in the v0.4.x of the 
editor). To trigger a pmacro you must type 2 letters (in your text) and then 
press Ctrl+Space, then the editor searchs in the pmacros list for one that is 
triggered with these letters, if there is such a macro the editor deletes the 2 
characters and enters some text.
The pmacros are dependent of the kind of text that you are editing so there is 
a pmacros file for C/C++ texts. The file is plain text and is located in 
%DJDIR%/share/rhide.
I'll sugest you to redefine the pmacro triggered by '/*' to create your own 
comments.

SET

------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019