mousepad issueshttps://gitlab.xfce.org/apps/mousepad/-/issues2021-07-05T15:16:51Zhttps://gitlab.xfce.org/apps/mousepad/-/issues/57[Feature Request] Add option to use CTRL (or ALT) with SHIFT to select text ...2021-07-05T15:16:51Zbrian[Feature Request] Add option to use CTRL (or ALT) with SHIFT to select text in "column" modeIf elaboration is required let me know. I love this feature in Geany (plugin) and Notepadqq and Qt Creator, etc.If elaboration is required let me know. I love this feature in Geany (plugin) and Notepadqq and Qt Creator, etc.https://gitlab.xfce.org/apps/mousepad/-/issues/41Feature Request: Count Words, Count Characters2022-03-28T10:26:27ZBugzilla MigrationFeature Request: Count Words, Count Characters## Submitted by litro
Assigned to **Matthew Brush `@matt`**
**[Link to original bug (#16203)](https://bugzilla.xfce.org/show_bug.cgi?id=16203)**
## Description
Dear Developers,
I humbly would like to request a feature allowing to...## Submitted by litro
Assigned to **Matthew Brush `@matt`**
**[Link to original bug (#16203)](https://bugzilla.xfce.org/show_bug.cgi?id=16203)**
## Description
Dear Developers,
I humbly would like to request a feature allowing to count words and characters of a document. LibreOffice does this nicely (Tools->Word Count).
Thank You
Version: 0.4.0https://gitlab.xfce.org/apps/mousepad/-/issues/22adding the autocomplete & highlight selected feature for better coding2021-01-31T14:01:57ZBugzilla Migrationadding the autocomplete & highlight selected feature for better coding## Submitted by Evel Liu
Assigned to **Matthew Brush `@matt`**
**[Link to original bug (#13597)](https://bugzilla.xfce.org/show_bug.cgi?id=13597)**
## Description
Can we improve the mousepad by adding the autocomplete and highligh...## Submitted by Evel Liu
Assigned to **Matthew Brush `@matt`**
**[Link to original bug (#13597)](https://bugzilla.xfce.org/show_bug.cgi?id=13597)**
## Description
Can we improve the mousepad by adding the autocomplete and highlight selected words features?
Generaly, these are a common features for the code editor. it would be great if mousepad can support this 2 features.
For example, when I using perl. I input the word "req" then it would hinting me the "require" keyword. when I double click on the keyword "require", all the instances of the keyword used in the code will be highlighted.
Version: 0.4.0https://gitlab.xfce.org/apps/mousepad/-/issues/12[PATCH] Add an option to sort the selected lines alphabetically.2023-08-21T15:19:59ZBugzilla Migration[PATCH] Add an option to sort the selected lines alphabetically.## Submitted by negora
Assigned to **Matthew Brush `@matt`**
**[Link to original bug (#11155)](https://bugzilla.xfce.org/show_bug.cgi?id=11155)**
## Description
Just as other editors do, I think that it would be useful to have an ...## Submitted by negora
Assigned to **Matthew Brush `@matt`**
**[Link to original bug (#11155)](https://bugzilla.xfce.org/show_bug.cgi?id=11155)**
## Description
Just as other editors do, I think that it would be useful to have an option to sort the lines alphabetically, in both orders, ascending and descending.
Thank you.
Version: Unspecifiedhttps://gitlab.xfce.org/apps/mousepad/-/issues/7File contents from standard input (stdin)2024-02-21T10:08:42ZBugzilla MigrationFile contents from standard input (stdin)## Submitted by Ian Griffiths
Assigned to **Matthew Brush `@matt`**
**[Link to original bug (#10206)](https://bugzilla.xfce.org/show_bug.cgi?id=10206)**
## Description
It would be very useful if mousepad was able to place the cont...## Submitted by Ian Griffiths
Assigned to **Matthew Brush `@matt`**
**[Link to original bug (#10206)](https://bugzilla.xfce.org/show_bug.cgi?id=10206)**
## Description
It would be very useful if mousepad was able to place the contents of stdin into an unsaved document in a similar way to gedit.
For example, 'echo hi|gedit' produces a gedit window with a new document containing 'hi', however, 'echo hi|mousepad' produces a new empty document.
Version: 0.3.0https://gitlab.xfce.org/apps/mousepad/-/issues/294Add right padding for RTL text2024-03-23T09:58:15ZAvidSeekerAdd right padding for RTL textScrollbars cover text with Right-To-Left direction. Notice that the horizontal scrollbar is set to the utmost right.
Example text:
```
.قِفَا نَبْكِ مِنْ ذِكْرَى حَبِيبٍ ومَنْزِلِ، بِسِقْطِ اللِّوَى بَيْنَ الدَّخُول فَحَوْمَلِ. فَتُوْضِ...Scrollbars cover text with Right-To-Left direction. Notice that the horizontal scrollbar is set to the utmost right.
Example text:
```
.قِفَا نَبْكِ مِنْ ذِكْرَى حَبِيبٍ ومَنْزِلِ، بِسِقْطِ اللِّوَى بَيْنَ الدَّخُول فَحَوْمَلِ. فَتُوْضِحَ فَالمِقْراةِ لمْ يَعْفُ
رَسْمُها، لِمَا نَسَجَتْهَا مِنْ جَنُوبٍ وشَمْألِ. تَرَى بَعَرَ الأرْآمِ فِي عَرَصَاتِهَا، وَقِيْعَانِهَا كَأنَّهُ حَبُّ
فُلْفُلِ. كَأنِّي غَدَاةَ البَيْنِ يَوْمَ تَحَمَّلُوا، لَدَى سَمُرَاتِ الحَيِّ نَاقِفُ حَنْظَلِ. وُقُوْفًا بِهَا صَحْبِي عَليَّ
مَطِيَّهُمُ، يَقُوْلُوْنَ: لا تَهْلِكْ أَسًى وَتَجَمَّلِ. وإِنَّ شِفائِيَ عَبْرَةٌ مُهْرَاقَةٌ، فَهَلْ عِنْدَ رَسْمٍ دَارِسٍ مِنْ
مُعَوَّلِ؟. كَدَأْبِكَ مِنْ أُمِّ الحُوَيْرِثِ قَبْلَهَا، وَجَارَتِهَا أُمِّ الرَّبَابِ بِمَأْسَلِ. إِذَا قَامَتَا تَضَوَّعَ المِسْكُ
مِنْهُمَا، نَسِيْمَ الصَّبَا جَاءَتْ بِرَيَّا القَرَنْفُلِ. فَفَاضَتْ دُمُوْعُ العَيْنِ مِنِّي صَبَابَةً، عَلَى النَّحْرِ حَتَّى
بَلَّ دَمْعِيَ مِحْمَلِي
```
![test](/uploads/6fbcc0d464d14dbc7e7342eb8a337cf9/test.png)https://gitlab.xfce.org/apps/mousepad/-/issues/293enhance File operations2024-03-14T17:54:43ZAndy Schroderenhance File operationsWould be nice to add some more operations to the File menu:
1. Ability to move/rename files - move/rename the open file but don't necessarily save it yet if there are unsaved changes and don't close the tab you are working in, the curre...Would be nice to add some more operations to the File menu:
1. Ability to move/rename files - move/rename the open file but don't necessarily save it yet if there are unsaved changes and don't close the tab you are working in, the current tab just changes to editing the file in the new location.
2. Ability to delete files - close the open file and then delete it
3. Save as Copy - save the current file as a new filename, but keep editing under the original filename unsaved in the original tab
4. Save as Copy and then open copy in new tab - save the current file as a new filename and then open the new filename in a new tab while retaining the original filename unsaved in the original tab.https://gitlab.xfce.org/apps/mousepad/-/issues/290Force text direction2024-02-18T15:07:08ZAvidSeekerForce text directionThis is essential when editing Bidirectional text documents. It basically forces a text direction on the whole text buffer for easier editing.
This is supported in Firefox for example. Try pressing Ctrl+Shift+X on HTML textbox (like thi...This is essential when editing Bidirectional text documents. It basically forces a text direction on the whole text buffer for easier editing.
This is supported in Firefox for example. Try pressing Ctrl+Shift+X on HTML textbox (like this comment section).https://gitlab.xfce.org/apps/mousepad/-/issues/287Show only leading and trailing whitespace2024-01-01T06:03:48ZIssueCreator123Show only leading and trailing whitespaceCan an option be added to show only leading and trailing whitespace and not for any whitespace in the middle of text?Can an option be added to show only leading and trailing whitespace and not for any whitespace in the middle of text?https://gitlab.xfce.org/apps/mousepad/-/issues/286Default File Extension2023-11-21T11:16:36ZlistlfaDefault File ExtensionAn optional default file extension would be great.
IE, I hit save on a new file and the caret for the filename was before .txtAn optional default file extension would be great.
IE, I hit save on a new file and the caret for the filename was before .txthttps://gitlab.xfce.org/apps/mousepad/-/issues/285Reset title bar icon to left in CSD2023-10-30T16:06:13ZGaël BonithonReset title bar icon to left in CSDThis icon was moved to the left in XfceTitledDialog after xfce/libxfce4ui!103, so 8ddfa2644b3f285d6c9759f995f4c495e322e903 should be reverted.This icon was moved to the left in XfceTitledDialog after xfce/libxfce4ui!103, so 8ddfa2644b3f285d6c9759f995f4c495e322e903 should be reverted.Xfce 4.20Gaël BonithonGaël Bonithonhttps://gitlab.xfce.org/apps/mousepad/-/issues/283please add 'select-all + copy' option to right click menu2023-10-09T07:39:14Zmarc dunordplease add 'select-all + copy' option to right click menuhttps://gitlab.xfce.org/apps/mousepad/-/issues/208session restore doesn't re-open all windows2023-09-27T16:30:11ZAndy Schrodersession restore doesn't re-open all windowsI have "Edit->Preferences->File->Session Restore" set to "after a crash". My computer just inadvertently shutdown due to a cooling system problem and when re-opening Mousepad after booting back up, most of the windows and tabs are re-ope...I have "Edit->Preferences->File->Session Restore" set to "after a crash". My computer just inadvertently shutdown due to a cooling system problem and when re-opening Mousepad after booting back up, most of the windows and tabs are re-opened, but not all. It "seems" as though the windows that did re-open have all the tabs that were in them re-opened, but there are definitely several windows that just did not re-open at all.
I'm not sure how to troubleshoot this issue.
I'm using version 0.5.8.https://gitlab.xfce.org/apps/mousepad/-/issues/207don't scroll while zooming2023-09-28T21:19:39ZAndy Schroderdon't scroll while zoomingWhen using Control + Mouse Wheel to zoom the font size, the entire page scrolls at the same time. When zooming, the text where the mouse pointer is placed should not move and the text on the top and bottom of the cursor should scroll as ...When using Control + Mouse Wheel to zoom the font size, the entire page scrolls at the same time. When zooming, the text where the mouse pointer is placed should not move and the text on the top and bottom of the cursor should scroll as the size changes.
There is a similar issue when using Control + + and Control + - to zoom. However, in that case, I'm not sure if the text at the center of the screen should not move or if the line that the cursor is currently on should be considered the center, that is up for debate.https://gitlab.xfce.org/apps/mousepad/-/issues/206Retain xattr / Extended file attributes on save2023-09-27T17:46:26Zneonew neonewRetain xattr / Extended file attributes on save# Problem
xattrs are lost on save.
# Suggested solution / Expected behavior
Retain the xattrs (if they exist) when saving a file.
# Actual behavior
```shell
$ echo text > test.txt
$ cat test.txt
text
$ setfattr -n user.tags -v "my|t...# Problem
xattrs are lost on save.
# Suggested solution / Expected behavior
Retain the xattrs (if they exist) when saving a file.
# Actual behavior
```shell
$ echo text > test.txt
$ cat test.txt
text
$ setfattr -n user.tags -v "my|tag|list" test.txt
$ getfattr --dump test.txt
# file: test.txt
user.tags="my|tag|list"
$ mousepad test.txt
$ cat test.txt
text
new line
$ getfattr --dump test.txt
```
When I called mousepad I made changes to the file (I've added a new line) and saved it.
Now my precious xattrs are gone. :(
Note: When I extend the file via `echo more text >> test.txt` the attributes are retained. That's why I think it is something to be changed in mousepad.https://gitlab.xfce.org/apps/mousepad/-/issues/188Feature Request: Add support for Windows-932/CP932/"Windows's version of Shif...2023-03-15T05:06:43ZJonathan ChiarellaFeature Request: Add support for Windows-932/CP932/"Windows's version of Shift JIS"Mousepad has no support for Windows-932/CP932/"Windows's version of Shift JIS."
Yes, we should do UTF-8 everywhere, stop using legacy encodings, little-endian encodings, non-ASCII-compatible encoding, difficult to search encodings, etc....Mousepad has no support for Windows-932/CP932/"Windows's version of Shift JIS."
Yes, we should do UTF-8 everywhere, stop using legacy encodings, little-endian encodings, non-ASCII-compatible encoding, difficult to search encodings, etc. I know this.
But some systems, and in my experience, smart playback devices like TVs that play subtitle files, only work with one-or-two-byte encoding schemes. Oh, and Korea and Japan probably still have oodles of government webpages and many more old files on servers that are in UHC (Korea) and Windows-932 (Japan). Yeah, they will still be kicking around for another decade at least.
True Shift JIS and Windows's version of Shift JIS (a.k.a. Windows-932, a.k.a. Windows Code page 932) are different.
Currently, Mousepad claims in open and save dialogs to handle Shift JIS, which it seemingly does.
However, there is no support for Windows-932.
How are they different? Windows-932 saves tilde `~` as tilde `~` and backslash `\` as backslash `\`. In UTF-8, ASCII, and Windows-932, these are 0x5C and 0x7E.
In Shift JIS, there is no `~` and no `\`. Therefore, Mousepad saves any tilde `~` as 0x5C and any backslash `\` as 0x7E to "preserve them." This action, re-maps them to overline `‾` and yen sign `¥`. (On display, a UTF-8 program will convert them to correctly display as overline at U+203E and yen sign at U+00A5.)
N.b., the overline and the macron are different, despite the fullwidth overline being erroneously called "fullwidth macron." Unicode is infuriating. _If Unicode wants to have "no changes" rule apply to re-mappings, decomposition, codepoints, and descriptions, then Unicode people should proofread their work!_
Windows operating system usually used *only* Windows-932. It correctly stored tilde `~` as tilde at 0x7E and backslash `\` as backslash at 0x7E. However, Windows releases in Japan had a default font that made all instances of `~` look like overlines and all `\` look like yen signs. This was, of course, an ultimately bad decision. The simple overline is a breaking character. (You can't use it in Romanizations as is.) And the Japanese should have gotten into the habit of writing yen signs in ASCII as `-Y-`, but looking like Shift JIS was important for some reason.
Windows in Korea unfortunately, also used default fonts that made the backslash look like a won sign instead of telling Koreans to type the won sign in ASCII as `-W-`, but here we are. Instead of a small changeover period when Koreans had some documents that said `\3000` for a money amount and the Japanese had some documents that said `\40` for a money amount, we got fonts with confusing glyphs proliferate.
Now there are billions of documents that say `\240` and you have no idea which it is unless you know the context. We should really display `\` as `\` as much as possible and avoid using `\` as a currency symbol because one's local font looks "right" ... because of such problems. As long as legacy encodings stick around (and they will stick around), getting Shift JIS and Windows CP 932 distinct and accurate is essential.
Don't bother checking out Wikipedia. The various articles on text encoding disagree with each other and have myriad technical errors from people not understanding the technical documents they read. IBM's current web page is not helpful, either. You have to have some pre-existing knowledge to know which pages are reliable references and which are unreliable.
EDIT: I meant to write "CP932" as the Windows near-equivalent of Shift JIS. I messed up the copy-pasting of the number. I did slip in a criticism of Unicode committees not proofreading and making things tricky, and I hadn't, but I'm setting down permanent standards. I still stand by what I said in avoiding Wikipedia. Even if one Wikipedia has the right info, another Wikipedia article that is linked to it may not.https://gitlab.xfce.org/apps/mousepad/-/issues/183Save what you can in new encoding instead of aborting2023-03-04T21:48:54ZJonathan ChiarellaSave what you can in new encoding instead of aborting**Problem:**
Mousepad refuses to save one file in another encoding format if even one invalid byte exists in a (possibly massive) text file. There is no option to `Save anyway` and to just let that one out of a thousand characters get l...**Problem:**
Mousepad refuses to save one file in another encoding format if even one invalid byte exists in a (possibly massive) text file. There is no option to `Save anyway` and to just let that one out of a thousand characters get lost.
This problem affects me and others who make subtitles for Smart TVs. eEen if only one character of text in a large text transcript of movie dialog (e.g., as in subtitles) would get corrupted, we cannot choose to save the file in the new format and just compare the old and new files to see if anything substantial was lost.
Mousepad just says `blah, blah ... invalid byte ... blah, blah` and aborts the saving process. It will not allow me to save in another encoding at all.
------
**Suggested Solution:**
Mousepad saves the file with as many valid bytes as possible and gracefully discards the one or two characters outside the range or otherwise corrupted after telling the user of the problem and asking the user how to proceed (to abort or to save anyway).
------
**Actual Behavior (the problem in action):**
1. Fire up Mousepad.
2. Open a text file in `UTF-8` encoding that has many characters outside of basic `ASCII` but that are all available also in another text encoding format (like `물`). In my case, the text file has a bunch of Korean characters but will have one invalid byte or a whitespace character that is not in `UHC` encoding or the text file includes a character from another script (like `Ц`) hidden in the massive text file somewhere.
3. Try to save that text file with `Save As ...` in another encoding that is appropriate, like `UHC`.
4. Mousepad throws up a warning message pop-up that says `there is one or more invalid bytes in the file and that it is impossible to save in the new format` and then Mousepad *aborts* the saving process.
------
**Expected Behavior (the solution in action):**
1. Fire up Mousepad.
2. Open a text file in `UTF-8` that is full of characters outside of basic ASCII but are all available in another text encoding format. In my case, this is the Korean script. Characters like `물` do not exist in ASCII, but they do exist in encoding formats like `UHC`. But there is one invalid byte or invalid whitespace or some character that is in Unicode but not in `UHC`.
3. Try to save that text file with `Save As ...` in another encoding that is appropriate, like `UHC`.
4. Mousepad should throw up a warning message pop-up that says `there is one or more invalid bytes in the file` or highlight the problem character or line *and then* have Mousepad ask the user if he or she wants to abort the saving process *or* save the file in the new format regardless of whether a character or more is lost in the re-encoding process. The user can always choose to abort and to save under a new filename in order to test out just how many characters get lost in the re-encoding process with a simple before-and-after look at the text file's character count.
------
**Explanation:**
Because I use a USB stick to watch multimedia content on a TV sometimes, I noticed that my TV only has support for `ISO-8859-1 Western European` and for `EUC-KR`/`UHC`. The TV includes two fonts with glyphs for all of the printable characters in one or the other set. `UTF-8` encoding will not work at all on most Smart TVs beyond the basic `ASCII` characters.
(`ASCII` printable characters, the space character, and `<CR><LF>` are kept at the same codepoints in ISO-8859-X, GBK/GB 18030, Big5/HKSCS, EUC-KR/UHC, Shift-JIS, and UTF-8.)
I save my subtitle files as two copies. One is in UTF-8 encoding, because, of course I use UTF-8 encoding. I then also do `Save As ...` for a new text file appended with ` [UHC]` in order to distinguish the new file by its name. (This is just my preference.)
Next, I select `UHC` encoding instead of `UTF-8 (Default)`. I then hit `Save`.
One of my subtitle files, which is all Korean and ASCII characters, had one corrupted byte or illegal whitespace character somewhere, and then Mousepad *refused* to re-save the file under the new format. Mousepad just said `blah, blah ... invalid byte ... blah, blah` in a warning message pop-up and aborted the saving process. I do not want to comb through 5,000 lines to find the one line with one bad character, or re-type every single thing because some illegal space/whitespace or corrupted byte appeared. (FFMpeg's text extractpr does this.) I have no idea where to look or what to fix.
Please allow the user to do as KWrite and Kate do, which is to have a warning pop-up message that says `This document has one or more bytes that are invalid bytes in the new chosen encoding. Do you want to save anyway in the new encoding format even if some characters are rejected?`
For what it is worth, the latest versions of Gnome's text editors (gedit and Gnome Text Editor) have the same annoying rule of refusing to save files that are not 100% perfect text files.https://gitlab.xfce.org/apps/mousepad/-/issues/171Feature Request: Toggle white space/line ending visibility within the main me...2022-05-14T18:17:43ZHomer SimpsonFeature Request: Toggle white space/line ending visibility within the main menu or toolbarI only enable whitespace/line endings temporarily to check for unwanted results. Keeping them always on looks ugly and gets in the way.
Currently, Mousepad seems to have those options only in the Preferences dialogue, which is not very ...I only enable whitespace/line endings temporarily to check for unwanted results. Keeping them always on looks ugly and gets in the way.
Currently, Mousepad seems to have those options only in the Preferences dialogue, which is not very convenient to access. Some editors (like Notepadd++ or VS Code) have those options in the main menu, usually under View. So, how about adding them under the View menu or the toolbar? There seems to be a lot of space, currently.https://gitlab.xfce.org/apps/mousepad/-/issues/168Feature Request: Option to warn that multiple tabs are about to be closed.2022-05-03T09:00:30ZBrendonFeature Request: Option to warn that multiple tabs are about to be closed.Title says it all. This makes sense if the session not to be saved upon closing Mousepad. What do you think?Title says it all. This makes sense if the session not to be saved upon closing Mousepad. What do you think?https://gitlab.xfce.org/apps/mousepad/-/issues/152FEATURE REQ: Copy window/tab filename to clipboard2022-03-28T10:50:03ZSAMFEATURE REQ: Copy window/tab filename to clipboardHi,
Frequently needs to copy filename of an opened file. Currently is it very frustrating to get it through save as dialog e.g. and yet its very unproductive.
Thanks in advanceHi,
Frequently needs to copy filename of an opened file. Currently is it very frustrating to get it through save as dialog e.g. and yet its very unproductive.
Thanks in advance