bugGNU Octave - Bugs: bug #63588, Uncommenting lines starting with...

 
 

bug #63588: Uncommenting lines starting with "%!" doesn't work for .cc-tst files

Submitter:  Markus Mützel <mmuetzel>
Submitted:  Thu 29 Dec 2022 02:20:37 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 8.0.90 Operating System:  * Any
Fixed Release:  8.1.0 Planned Release:  8.1.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 02 Jan 2023 04:48:21 AM UTC, comment #4: 

Verified that shortcut sequence works as expected now for .cc-tst files.  Marking as Fixed and closing report.

Rik <rik5>
Group administrator
Thu 29 Dec 2022 03:13:33 PM UTC, comment #3: 

This was pretty easy to fix. Since this change is also pretty low risk while making the live of developers easier, I pushed it to the stable branch here:
https://hg.savannah.gnu.org/hgweb/octave/rev/601e7a142a15

Marking as ready for test.

Markus Mützel <mmuetzel>
Group administrator
Thu 29 Dec 2022 02:45:56 PM UTC, comment #2: 

Oops. Not a regression.

This works in .m files. But it doesn't in .cc-tst files.
Is that the expected behavior?

Markus Mützel <mmuetzel>
Group administrator
Thu 29 Dec 2022 02:37:19 PM UTC, comment #1: 

Same with the mxe-default build from Wed, Dec 28, 2022 downloaded from here:
https://buildbot.octave.space/#/download
https://www.octave.space/data/stable/494/octave-2022-12-28-00-11-default-w64-installer.exe

That is Octave hg id 74c18a1f357b, MXE Octave hg id fe6e40fefa80.

Markus Mützel <mmuetzel>
Group administrator
Thu 29 Dec 2022 02:20:37 PM UTC, original submission:  

In previous versions, it was possible to mark lines of BISTs (that start with "%!") in the built-in text editor and press Ctrl+Shift+R to remove those comment characters from those lines.
In a build from the current head of MXE Octave (Octave hg id a74935a6cc75, MXE Octave hg id f9a382236bd5), this no longer works.

I made sure that "%!" is selected in the list labeled "Strings considered for uncommenting text" in the editor tab of the properties dialog. I also tested un-selecting it and selecting it again to be on the safe side.
However, it still only removes the leading "%" from those lines (leaving them starting with "!").

Maybe, this is a side effect from the update from PCRE to PCRE2?

Markus Mützel <mmuetzel>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mmuetzel (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.

    Only group members can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-02 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 8.1.0
    2022-12-29 mmuetzel StatusNone Ready For Test
        Fixed ReleaseNone 8.1.0
    2022-12-29 mmuetzel Item GroupRegression Other
        Operating SystemMicrosoft Windows Any
        SummaryUncommenting lines starting with &quot;%!&quot; no longer works in built-in editor Uncommenting lines starting with "%!" doesn't work for .cc-tst files

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code