GNOME Bugzilla – Bug 741733
Sort plugin counts columns differently from gedit
Last modified: 2020-11-24 10:18:22 UTC
In the gedit main window, the column counter at the bottom counts visual columns. For example, a tab can count as 1-8 columns depending on how many columns it takes up visually even though it is only one character. In the sort plugin, each character always counts as only one column. This means that a tab is always counted as 1 column regardless of how the user sees it in the main window. This means that if a file has tabs, the sorting does not work as a user would expect on any columns past the tab. The sort plugin should count visual columns so that the user can chose which column to sort by based on what is shown in the main window. See https://mail.gnome.org/archives/docs-feedback/2014-December/msg00013.html for more details.
Created attachment 293109 [details] Text columns separated by tab Please see the attached document in which I tried to sort the data in the 2nd column, separated by a Tab. gedit cannot sort the data accurately, but the only way to ensure the accuracy of the column position is with a Tab. You cannot expect a user to adjust columns manually. I installed gedit in Windows to compare because my intention was to use gedit in Xubuntu and replace Windows and Textpad, but Textpad handles text in a far superior manner than gedit, with which I tried to duplicate the sort among other features. I am sorry to say, you and Linux/Ubuntu still have a long way to go, and I am stuck in Windows.
Mass-closing of all gedit-plugins bugzilla tickets. Special "code" to find again all those gedit-plugins bugzilla tickets that were open before the mass-closing: 2bfe1b0590a78457e1f1a6a90fb975f5878cb60064ccfe1d7db76ca0da52f0f3 By searching the above sha256sum in bugzilla, the gedit contributors can find again the tickets. We may be interested to do so when we work on a specific area of the code, to at least know the known problems and possible enhancements. We do this mass-closing because bugzilla.gnome.org is being replaced by gitlab.gnome.org.