Intermittent bug:
gedit inserts newlines on paste under certain conditions involving the contents of the search buffer.
gedit --version reports
gedit - Version 3.28.1
from the command line on Ubuntu, uname --all:
Linux {machine-name} 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Looking it up, it might be something inherited from the GTK toolbox.
Specific details.
Searching through a text file for lines beginning with a specified string, such as a label in an assembly language source file. Leaving the search string in the search buffer, select, copy, and paste a section of several lines of text including the searched string.
gedit inserts blank lines (newline character sequences) before occurrences of searched string.
Example:
MESS DC.L DOCOL,WARN,AT,ZBRAN
DC.L MESS3-*-NATWID
DC.L DDUP,ZBRAN ; -DUP here is a bug from the original 6800 model, at least.
DC.L MESS3-*-NATWID
DC.L LIT16
DC.W 4
DC.L OFSET,AT,BSCR,SLASH,SUB,DLINE,BRAN
DC.L MESS4-*-NATWID
MESS3 DC.L PDOTQ
DC.B 6
DC.B 'err # ' ; 'err # '
DC.B 0 ; hand align
DC.L DOT
MESS4 DC.L SEMIS
with \nMESS in the search buffer.
But then when I tried it with
* This should add two 64-bit numbers:
ADD64STK:
MOVEM.L (A6)+,D7/D6/D5/D4
ADDLO ADD.L D5,D7
ADDHI ADDX.L D4,D6
MOVEM.L D6/D7,-(A6)
RTS
it quit inserting the newlines, even in the original example text.
No comments:
Post a Comment