From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id b5QgNSdO0mLu/RMAWB0awg (envelope-from ) for ; Sat, 16 Jul 2022 01:35:35 -0400 Received: by simark.ca (Postfix, from userid 112) id C9AD51E5EA; Sat, 16 Jul 2022 01:35:35 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=q0Z2+iqw; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 22C4F1E222 for ; Sat, 16 Jul 2022 01:35:35 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3332C384B03C for ; Sat, 16 Jul 2022 05:35:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3332C384B03C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1657949734; bh=h297EWmafH4Da3wct+T1x6EOPHxSLV+iS9VrmBBJUQI=; h=Date:To:In-Reply-To:Subject:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=q0Z2+iqwxi+VFp3+Dzg4K35OcaCF57OcNNY4UAEt/mOwrD7evPVHQ1NNwQIkBKTVd OQh807/tS5SqGZ9XoKSBCdKqPO4Ua05J+y314P7G3IxOrn2ZdECNgCQ25Zzj74cUhu pKNcPq0y1WsEf1CblixRPCEm3YoAn6vMeir1aIWo= Received: from eggs.gnu.org (eggs.gnu.org [209.51.188.92]) by sourceware.org (Postfix) with ESMTPS id 5B0283858004 for ; Sat, 16 Jul 2022 05:35:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5B0283858004 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51032) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCaSQ-0006Iy-0k; Sat, 16 Jul 2022 01:35:14 -0400 Received: from [87.69.77.57] (port=3424 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCaSP-0006cd-I3; Sat, 16 Jul 2022 01:35:13 -0400 Date: Sat, 16 Jul 2022 08:35:10 +0300 Message-Id: <838rotsjqp.fsf@gnu.org> To: Andrei Pikas In-Reply-To: <20220715224949.164691-1-gdb@mail.api.win> (message from Andrei Pikas on Sat, 16 Jul 2022 01:49:49 +0300) Subject: Re: [PATCH v3] Add style tui-current-line command to colorize TUI current line. References: <87tu7imafv.fsf@tromey.com> <20220715224949.164691-1-gdb@mail.api.win> X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Eli Zaretskii via Gdb-patches Reply-To: Eli Zaretskii Cc: gdb@mail.api.win, tom@tromey.com, gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > From: Andrei Pikas > Date: Sat, 16 Jul 2022 01:49:49 +0300 > Cc: Andrei Pikas , gdb-patches@sourceware.org > > Adds the ability to customize the colors of the current line of code in TUI. > This may be desirable when code highlighting is enabled. Because higlighted > keywords in dark blue color are indistinguishable from a black background > (which is the default inverse color for a white terminal). > Here is a screenshot of old and new behavior > https://drive.google.com/file/d/1BbgNwpFa0DvKX0K9UAd48dEgtn8aChXP/view > --- > gdb/NEWS | 4 ++++ > gdb/cli/cli-style.c | 36 ++++++++++++++++++++++++++++++++++++ > gdb/cli/cli-style.h | 3 +++ > gdb/doc/gdb.texinfo | 3 +++ > gdb/tui/tui-io.c | 44 ++++++++++++++++++++++++++++++++++++++++---- > gdb/tui/tui-win.c | 1 + > 6 files changed, 87 insertions(+), 4 deletions(-) Thanks, the documentation parts are OK.