Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptterminalselectword.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptterminalselectword.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptterminalselectword.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptterminalselectword.html on line 8
Select a word
int PtTerminalSelectWord(
PtWidget_t *widget,
PtTerminalRowCol_t const *pos );
This function selects a word containing the character at the specified
position (or at the cursor position if pos is NULL).
The PtTerminalRowCol_t structure contains the following members:
- 1
- Done.
- 0
- There's no word at the specified position (neither the
character at the specified position nor the character to the
left is a letter, digit or underscore).
- -1
- The pos argument is invalid (i.e. beyond the screen size).
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PtTerminal
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptterminalselectword.html on line 108
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptterminalselectword.html on line 108