From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id kB87Buo/xmDAJAAAWB0awg (envelope-from ) for ; Sun, 13 Jun 2021 13:27:06 -0400 Received: by simark.ca (Postfix, from userid 112) id 166761F163; Sun, 13 Jun 2021 13:27:06 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=MAILING_LIST_MULTI, RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.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 65AF81E01F for ; Sun, 13 Jun 2021 13:27:05 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 18FE5383803B for ; Sun, 13 Jun 2021 17:27:05 +0000 (GMT) Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by sourceware.org (Postfix) with ESMTPS id 01F8C3857004 for ; Sun, 13 Jun 2021 17:26:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 01F8C3857004 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f49.google.com with SMTP id m41-20020a05600c3b29b02901b9e5d74f02so8307172wms.3 for ; Sun, 13 Jun 2021 10:26:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=GeSkHzmX3peZ0svkernoFxQvIBhB+aDwpyKfT2K1av0=; b=Vb+BFbTDVfgqiRh1+NnmfGctPOI/Ry4dzPtv1HlL196KPg3X5FTJeT5ZgCVu1KzI4A 0s/0c7R2LVzLf/2qoyjzR7apMU5W82g3FOds7uq1Luc1Zo9CvnzKwcuzsFi/ashksd02 xsFADQyNOFioRvcdzVWqYEbQY2Twq+QECQeITP7R6tIZ6SGZns/AU33Sag2orbrEgG+Q n1492yDHTAjOFJQO+vS+u+4bauUad+etYwKpO/rSvQGoUlfgjvLXUc9jGD6QNNrrqstG 9iV75oA58Ou514U35x3RknQGixnIe00lxv/D+E1yf+8cP5ETsXP48LXFGU9nQYlRUUwT O7hA== X-Gm-Message-State: AOAM530ObBBe7nb+Kfmf3u0bYXQghZxF+Wu2I+fiFy/vrBSmwISKYDOO 1USrPHF+VQhglArdyh730gU= X-Google-Smtp-Source: ABdhPJzDUcJruTBz5UDX/0TFs/+1XKfKA7+X7C4AQ3NtCwZ4PvB2QPy8igQJ/ckSv1NzYHSoa1n1dw== X-Received: by 2002:a7b:c106:: with SMTP id w6mr12429465wmi.75.1623605213147; Sun, 13 Jun 2021 10:26:53 -0700 (PDT) Received: from ?IPv6:2001:8a0:f932:6a00:6b6e:c7b6:c5a7:aac3? ([2001:8a0:f932:6a00:6b6e:c7b6:c5a7:aac3]) by smtp.gmail.com with ESMTPSA id v18sm15111674wrb.10.2021.06.13.10.26.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 13 Jun 2021 10:26:52 -0700 (PDT) Subject: Re: [PATCHv3 1/2] Initial TUI mouse support From: Pedro Alves To: Tom Tromey References: <20210603151453.15248-1-ssbssa.ref@yahoo.de> <20210603151453.15248-1-ssbssa@yahoo.de> <87r1hhoi03.fsf@tromey.com> <1760297979.5212997.1622816480782@mail.yahoo.com> <0936428e-80c4-c192-cdfd-817ff9bcfab0@palves.net> <45415d6f-45f8-c709-5a21-dd2b02e724f3@polymtl.ca> <871r99imph.fsf@tromey.com> Message-ID: <4ca7e884-e112-6214-d3ba-5234089e8f77@palves.net> Date: Sun, 13 Jun 2021 18:26:51 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <871r99imph.fsf@tromey.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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: , Cc: Hannes Domani via Gdb-patches , Joel Brobecker Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On 2021-06-10 7:44 p.m., Tom Tromey wrote: >>>>>> "Pedro" == Pedro Alves writes: > > Pedro> I suppose we could teach GDB to be smarter about text selection -- like, > Pedro> if you select several lines of source code in the TUI source window, ideally > Pedro> we'd select just the source code, instead of the source code plus the window > Pedro> borders, etc. > > Is it possible to implement this? I looked a little but didn't see a > way to set the selection. Hopefully I'm just looking for the wrong > keywords... Sorry, I just assumed it was possible, but I don't really know. Pedro Alves