DtEditorGoToLine man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

DtEditorGoToLine(library call)			DtEditorGoToLine(library call)

       DtEditorGoToLine	 —  move  the insert cursor for a DtEditor widget to a
       specified line

       #include <Dt/Editor.h>
       void DtEditorGoToLine(
       Widget widget,
       int lineNumber);

       The DtEditorGoToLine function moves the insert cursor for the  DtEditor
       widget  to  the beginning of the line specified by the lineNumber argu‐
       ment.  The cursor can be moved to the last line	by  specifying	DtEDI‐
       TOR_LAST_LINE  as  the  line  number.  If the line is not currently on-
       screen, the contents for the DtEditor widget are	 scrolled  to  display
       the new insertion position.

       The lineNumber argument is the number of the line in the file, counting
       from 1.	If the lineNumber argument is less than 1, the	insert	cursor
       is  placed  at  the  beginning  of  the first line.  If the argument is
       greater than the total number of lines, the cursor  is  placed  at  the
       last line of text.

       The  insert  cursor  can be moved to a specific character position with
       DtEditorSetInsertionPosition(3). The DtNtopCharacter  resource  can  be
       used to control which line is displayed at the top of the DtEditor wid‐

       The widget argument specifies the DtEditor widget ID.

       The lineNumber argument specifies the line number within	 the  DtEditor

       For  a  complete	 definition  of the DtEditor widget and its associated
       resources, see DtEditor(3).

       The DtEditorGoToLine function returns no value.

       Dt/Editor.h  -  DtEditor(5),   DtEditor(3),   DtEditorSetInsertionPosi‐

						DtEditorGoToLine(library call)

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net