static void textAreaGoToRow(final JTextArea ta, final int row) swing { if (ta == null) ret; int index = charIndexOfRow(ta.getText(), row-1); ta.setCaretPosition(index); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012343 |
Snippet name: | textAreaGoToRow - row counting from 1 |
Eternal ID of this version: | #1012343/3 |
Text MD5: | 9e556e3fb1c57fd820fea500586f55af |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-26 15:11:14 |
Source code size: | 180 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 486 / 482 |
Version history: | 2 change(s) |
Referenced in: | [show references] |