bugGNU TeXmacs - Bugs: bug #37327, Strange behaviour for folds in...

 
 

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

bug #37327: Strange behaviour for folds in sessions

Submitted by:  Michael Lachmann Tamarlin <ghostwheel>
Submitted on:  Tue 11 Sep 2012 11:03:21 AM UTC  
 
Category: EditorPriority: 5 - Normal
Item Group: ErrorStatus: Fixed
Privacy: PublicAssigned to: Joris van der Hoeven <vdhoeven>
Originator Name: Open/Closed: Closed
Release: Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

Wed 27 Nov 2013 11:29:23 AM UTC, comment #1:

The fix is not perfect, but I think that it will be sufficient for the moment.

Joris van der Hoeven <vdhoeven>
Project AdministratorIn charge of this item.
Tue 11 Sep 2012 11:03:21 AM UTC, original submission:

When pressing delete on an input field below a session with a fold, the field right above the fold is deleted.

Example:

Python] 1
Python] 2
• Fold
Python] 3
Python] 4
Python] 5 <-
Python] 6

Cursor is after the '5'. Pressing alt-del deletes the line with the '2':

Python] 1
• Fold
Python] 3
Python] 4
Python] 5 <-
Python] 6

What should happen is either
a. Delete the line with the '4', i.e. the last line in the fold.
b. Delete the whole fold
c. Mark the fold, so that an additional delete will remove it.
d. Do nothing.

Probably a. is best...
But d. is consistent with the behavior of pressing alt-del in the first input line of a fold (i.e. on the line with the '3'). In that case also nothing happens.
So, if a. is implemented I'd also change the behavior of deleting first line in a fold.

Michael Lachmann Tamarlin <ghostwheel>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by vdhoeven (Posted a comment)
  • -unavailable- added by ghostwheel (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 27 Nov 2013 11:29:23 AM UTCvdhoevenStatusNone=>Fixed
      Assigned toNone=>vdhoeven
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup