www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/02/16:02:42

Message-Id: <m0zPBPN-000S4VC@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: Andris Pavenis <pavenis AT lanet DOT lv>, Robert Hoehne <robert DOT hoehne AT gmx DOT net>,
djgpp AT delorie DOT com
Date: Fri, 2 Oct 1998 17:04:12 +0000
MIME-Version: 1.0
Subject: Another patch for JumpToFunction of 1.4.6
X-mailer: Pegasus Mail for Windows (v2.54)

--Message-Boundary-6297
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body

Hi all:

Attached is a small patch to enable a feature of 0.4.17 that RHIDE isn't 
using.

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-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013


--Message-Boundary-6297
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Text from file 'idemain.dif'

--- idemain.cc~	Sun Sep 20 18:58:58 1998
+++ idemain.cc	Fri Oct  2 16:55:14 1998
@@ -1094,8 +1094,13 @@
           {
             int line;
             TIDEFileEditor *editor = (TIDEFileEditor *)((TCEditWindow *)ew)->editor;
-            if (doEditDialog(edJumpToFunction,&line,editor->buffer,editor->bufLen))
-              goto_line(editor,line);
+            if (editor)
+              {
+               char *word=editor->WordUnderCursor(80);
+               if (doEditDialog(edJumpToFunction,&line,editor->buffer,editor->bufLen,word))
+                  goto_line(editor,line);
+               delete word;
+              }
           }
           clearEvent(event);
           break;

--Message-Boundary-6297--

- Raw text -


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