git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] gitk: make pointer selection visible in highlighted lines

From
Thomas Rast <tr@thomasrast.ch>
Date
Nov 27, 2013, 19:16 UTC
Message-ID
<871u21hczm.fsf@thomasrast.ch>
In-Reply-To
<20131127180601.GA31211@wheezy.local>
Max Kirillov <max@max630.net> writes:
Show 6 quoted lines
> Custom tags have higher priority than sel, and when they define
> their own background, it makes selection invisible. Especially
> inconvenient for filesep (to select filenames), but may aslo affect
> other tags.
>
> Signed-off-by: Max Kirillov <max@max630.net>
Nice.
Tested-by: Thomas Rast <tr@thomasrast.ch>
Show 16 quoted lines
> ---
>  gitk-git/gitk | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/gitk-git/gitk b/gitk-git/gitk
> index 5cd00d8..9f350ab 100755
> --- a/gitk-git/gitk
> +++ b/gitk-git/gitk
> @@ -2385,6 +2385,7 @@ proc makewindow {} {
>      $ctext tag conf found -back $foundbgcolor
>      $ctext tag conf currentsearchhit -back $currentsearchhitbgcolor
>      $ctext tag conf wwrap -wrap word
> +    $ctext tag raise sel
>  
>      .pwbottom add .bleft
>      if {!$use_ttk} {
-- 
Thomas Rast
tr@thomasrast.ch
Previous: Max KirillovNext: Eric Sunshine
Message 2 of 8 in “gitk: make pointer selection visible in highlighted lines”
  1. gitk: make pointer selection visible in highlighted linesMax Kirillov, Nov 27, 2013
  2. Thomas RastNov 27, 2013
  3. Eric SunshineNov 27, 2013
  4. gitk: make pointer selection visible in highlighted linesMax Kirillov, Nov 28, 2013
  5. Paul MackerrasDec 1, 2013
  6. Stefan HallerDec 2, 2013
  7. Max KirillovDec 3, 2013
  8. [RFC] HACK: use anchor mark instead of sel tagMax Kirillov, Dec 11, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.