linux - Getting number of pattern matches in VTE search -


i'm developing gtk+ 3.0 application uses vte widget, how can number of occurrences search regex or @ least current text in terminal , process that?
i'm using vte 2.91 , vala.

vte.terminal.get_text() visible text in terminal processing. i'm not sure that includes text that's scrolled off screen.

you try vte.terminal.select_all() followed vte.terminal.copy_clipboard(), copied text off clipboard, i'm not sure work.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -