codasai icon indicating copy to clipboard operation
codasai copied to clipboard

Add more actions for the front-end

Open emi2k01 opened this issue 4 years ago • 0 comments

Right now there's

  • open_file <file> opens file
  • highlight_regex <file> <from> <to> opens file and highlights the lines starting from the line containing from and ending in the line containing to

But there are other actions that might be useful like

  • highlight_one <file> <pattern> opens file and highlights the first match of pattern
  • highlight_all <file> <pattern> opens file and highlight all the matches of pattern
  • go_to_page <page> goes to the page whose file name matches page (or maybe the title that matches )

I'd also like to rename highlight_regex to highlight_lines

emi2k01 avatar Dec 20 '21 08:12 emi2k01