Mail Archives: djgpp/1998/10/02/16:02:42
--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 -