www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/02/05:44:44

Message-Id: <3.0.5.32.19990402070804.00872150@200.252.238.1>
X-Sender: thiagofga AT 200 DOT 252 DOT 238 DOT 1
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32)
Date: Fri, 02 Apr 1999 07:08:04 -0300
To: djgpp AT delorie DOT com
From: "Thiago F.G. Albuquerque" <thiagofga AT ambr DOT com DOT br>
Subject: RHIDE: Suggestion on Find matching bracket
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Find matching bracket: there are various assignments:

Search the { where the cursor is	cmbSearchStart	^[
Search the } where the cursor is	cmbSearchEnd		^]
Search the ( where the cursor is	cmbSearchOpPar	Shift+^9
Search the ) where the cursor is	cmbSearchClPar	Shift+^0
Search the [ where the cursor is	cmbSearchOpCor	Shift+^[
Search the ] where the cursor is	cmbSearchClCor	Shift+^]

Why not replace all of this for just one assignment, like ^[ ? Then,
depending on the character under the cursor, RHIDE figures out which
function to call.

And if there is no character under the cursor, then cmbSearchStart is called.

Regards,
Thiago

- Raw text -


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