Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Andris Pavenis , Robert Hoehne , djgpp AT delorie DOT com Date: Fri, 2 Oct 1998 17:04:12 +0000 MIME-Version: 1.0 Content-type: Multipart/Mixed; boundary=Message-Boundary-6297 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--