bugGNU TeXmacs - Bugs: bug #60038, In the presence of a selection,...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #60038: In the presence of a selection, focus should not be determined by cursor position

Submitter:  Basile <baudoly>
Submitted:  Thu 11 Feb 2021 08:52:28 AM UTC
   
 
Category:  User Interface Priority:  5 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  None Release: 
Fixed Release:  None Fixed Release:  1.99.18
Keywords: 

Thu 11 Feb 2021 08:52:28 AM UTC, original submission:  

The attached screenshot shows a selected region that is mostly in text format, but which contains a math expression in which the cursor is positioned.

I wanted to apply the "highlight" tag to this selection but it is not available from the focus bar, as TeXmacs has decided that the focus is math (corresponding to the cursor position) and not text (corresponding to the selection). I am not sure how the cursor ended up in the math expression when I dragged the mouse to select.

I feel that the focus should be decided based on the selection and not based on the cursor position, as the actions from the focus bar are going to apply to the selection and not to the cursor position (I am not entirely sure that this rule should always apply, please check).

Basile <baudoly>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #50854:  which-focus.png added by baudoly (44KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by baudoly (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-02-11 baudoly Attached File- Added which-focus.png, #50854

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code