Menu

#80 Highlight, word, phrase

future
open
nobody
None
5
2 days ago
2005-09-09
Anonymous
No

Add 'highlight' function.. so as to prevent any missing on
doing works.

Such as some critical words or phrases are a first entry
of 'highlight.'

For example:

and, or, such, therefore......

Or any arbitrary words or phrases can be enlisted as
highlight.

You can see 'highlight' in most of programmers editor for
compiling.... In this case, main(), for loop, and/or each
function names are highlighted.

Just leave my small wish.

Discussion

  • Maxym Mykhalchuk

    • milestone: 442218 -->
     
  • Jean-Christophe Helary

    Logged In: YES
    user_id=915082

    This would definitely be useful in combination with glossaries. Words in the
    glossaries being automatically highlighted in the current segment.

     
  • Jean-Christophe Helary

    • milestone: --> future
     
  • Didier Briel

    Didier Briel - 2010-02-04

    As a workaround, this can be done using a glossary and TransTips.

    - TransTips for glossary items
    http://sourceforge.net/support/tracker.php?aid=2935633

    Didier

     
  • Didier Briel

    Didier Briel - 2010-02-04
    • summary: highlight, word, phrase --> Highlight, word, phrase
     
  • st. pakebusch

    st. pakebusch - 2026-08-19

    i believe this ticket may be obsolete since the desired functionality can be achieved with user defined global or projectwide protected tag regex settings as of Ωt v6.2.

     

    Last edit: st. pakebusch 2026-08-19
    • Jean-Christophe Helary

      It’s not exactly the same purpose. The "custom tags" feature is supposed to show words that must be reproduced in target as they are.

      This feature is more a "translation reminder" of important words that must be properly translated.

       
  • st. pakebusch

    st. pakebusch - 2 days ago

    ok, i see. rereading the intent, i could maybe add a project-specific highlighting function. some thoughts first.

    • regex at the least
    • stemming for complicated languages
    • extra button in global settings and same in project settings with check 'Use project specific highlighting rules', opens new window 'highlighting rules'
    • introduce new marker(s) in the existing colors table in global settings
    • unlimited number? limited number? maybe cap it to 16 to prevent overflow error and keep color table managable
    • individual highlighting rules can then map to highlight marker number 1 through 16
    • make marker formatting totally optional in the color table, i.e. how the highlighting marker affects the highlighted text ranges, e.g. underline, background color, foreground color, earcon whistle announcing sound when segment becomes active, repeated per occurance or squashed, editor background color flash notifications, all combinable with each other

    counter thoughts before i should start?

     
    • Jean-Christophe Helary

      thoughts before i should start?

      Finish the work that you’ve already started?

      You have literaly half a dozen open projets. I receive around two dozens notifications about your activity every day.

      You should communicate about your work on the development list. Tickets and PRs are not places where general development discussions should take place.

      introduce new marker(s) in the existing colors table in global settings

      You’re thinking about programming languages syntax highlighting. The original request reads more like the glossary validation test that we have in tools, except that the test takes into account all the project glossary item.

      This feature reads more like a strict validation tool for a limited number of glossary entries. And that’s a feature that we lack.

      We certainly do not need syntax highlithing in OmegaT.

       

Log in to post a comment.