Thanks to visit codestin.com
Credit goes to github.com

Skip to content

phastmike/tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tags

A GNOME text tagger inspired by the TextAnalysisTool.NET tool.

The main goal is to aid log analysis by tagging lines with user defined colors. Tags have a match pattern, description name, visibility toggle, color scheme and hit counter.

Screenshot

tagger

Download

Download on flathub

Actions and Shortchuts

Ctrl + N : Add a Tag

Ctrl + S : Save tagged lines

Ctrl + C : Copy selected text lines to clipboard

Ctrl + H : Toggle untagged lines visibility

Ctrl + F : Hide/Show Tag list (bottom)

Ctrl + L : Hide/Show Line numbers

Ctrl + M : Hide/Show Minimap

Alt + E : Enable all tags

Alt + D : Disable all tags

Tags

Toggle the first ten tags with keyboard shortcuts.

Alt + 1 : Toggle enabled status for first tag

Alt + 2 : Toggle enabled status for second tag

...

Alt + 9 : Toggle enabled status for ninth tag

Alt + 0 : Toggle enabled status for tenth tag

Navigation

-- requires a tag to be selected on the tag list

F2 : Previous tag hit

F3 : Next tag hit

Ctrl + M : Toggle minimap visibility


Notice

Using Ctrl instead of Alt will enable the respective tag and hide all the others.


Additional features:

  • Load tags
  • Save tags
  • Remove all tags
  • Open new window
  • User defined line numbering color scheme
  • Simple tags based on a string containg a pattern
  • Support for regular expressions
  • Case sensitive support
  • Automatic load tags file when opening a file and a similarly named file with added .tags extension exists
  • Navigate thru hits with F2 and F3
  • Random color scheme on tag creation
  • Document minimap with tag colors (bg-color)

Development

Developed in Vala + Gtk 4

Dependencies

It depends on:

  • meson
  • ninja
  • valac
  • Gtk 4
  • Libgee
  • LibAdwaita-1
  • json-glib-1.0

Build

Clone the repository and inside it, compile with:

$ meson build && cd build && ninja

Install with:

$ ninja install

Then, test it with:

$ tags


Filters have a top down priority. Only works with text files and uses string matching rules or regular expressions.