linuxmint / xed

X-Apps [Text] Editor (Cross-DE, backward-compatible, GTK3, traditional UI)
GNU General Public License v2.0
445 stars 84 forks source link

Problem with wrapping the lines. #647

Closed Qronikarz closed 2 months ago

Qronikarz commented 2 months ago
 * Xed version 3.4.5
 * Distribution - Mint 21.3 EDGE Cinnamon

Issue Xed doesn't correctly wrap lines.

Steps to reproduce Paste the below line of text into xed

{"quomediaviewdb":[{"qmv_settings":{"customthumbnails":true,"maxshownresults":28,"infoicon":"☉","searchbar":"#90ee90","blocklist":"#ffc0cb","b_picture":"#808080","b_animated":"#ffa500","b_video":"#0000ff","version":"1.0","creationdate":"2021-05-25","baselocation":"","chosentheme":"ultradark","filethumbaspectratio":true,"filethumbsize":192,"sidepanelwidth":36,"leftmouseclick":"sidepanelpreview","previewresults":true,"resultsviewmode":"gridview","blockedtags":["b3","f2"]}},{"qmv_folders":[{"0":""},{"1":"example_qmv_base/files/"}]},{"qmv_tags":[{"group-1":[{"settings":["bordergridtags","#008000","show","a_3"]},{"tags":[{"a1":[2,"picture"]},{"a2":[2,"animation"]},{"a3":[2,"video"]}]}]},{"group-2":[{"settings":["filetypetags","#87ceeb","show","b_6"]},{"tags":[{"b1":[2,"jpeg"]},{"b2":[0,"png"]},{"b3":[0,"webp"]},{"b4":[2,"gif"]},{"b5":[1,"webm"]},{"b6":[1,"mp4"]}]}]},{"group-3":[{"settings":["filetechtags","#d3d3d3","show","c_1"]},{"tags":[{"c1":[2,"audio","files that have sound"]}]}]},{"group-6":[{"settings":["people","#00c000","show","f_3"]},{"tags":[{"f1":[1,"Buster_Keaton"]},{"f2":[0,"Vitruvian_Man"]},{"f3":[1,"Stańczyk"]}]}]}]},{"qmv_files":[{"0":[{"name":["8-cell.gif","1"]},{"tags":["a2","b4","h1","d4"]}]},{"2":[{"name":["1963-11-14_Space_Movie_512kb.mp4","1"]},{"tags":["a3","b6","c1","h2","g2","g3","d3"]}]},{"10":[{"name":["GIF_of_Buster_Keaton_in_Steamboat_Bill_Jr_1928.gif","1"]},{"tags":["a2","b4","d2","e1","f1","g1"]},{"thmb":["GIF_of_Buster_Keaton_in_Steamboat_Bill_Jr_1928.png","1"]}]},{"11":[{"name":["iss062e081626~orig.jpg","1"]},{"tags":["a1","b1","g2","g3","d4"]}]},{"22":[{"name":["stanczyk.jpg","1"]},{"tags":["a1","b1","d7","f3","e6","h8","l3","m1","n1"]},{"desc":"Painting of Stańczyk jester by Jan Matejko"}]},{"24":[{"name":["Sturmtief_Paul_2017-06-22.webm.360p.vp9.webm","1"]},{"tags":["a3","b5","c1","g9","g12","g17","d4","k1","k2"]}]}]}]}

Expected behaviour Xed correctly wraps the text.

Other information That's how it looks when compared with Geany: screenshot Notice the horizontal bar in Xed which shouldn't show at all when the wrapping is enabled.

Qronikarz commented 2 months ago

Xed version 3.6.4 Distribution - Linux Mint 22 Cinnamon

Closing, because in Mint 22 there is an option to make the line wrapping break the words which helps with this problem.