Modifications to Mousepad

Michaël Meyer michaelnm.meyer at gmail.com
Sat Nov 9 20:43:29 CET 2019


Hi Alexander,

Thank you very much for the advice. I'm going to clean things up and
submit patches.

Cheers,

Michaël Meyer

2019-11-09 17:49 UTC+01:00, Alex <acs82 at gmx.de>:
> Hi Michaël,
>
> sounds interesting to me !
> I am not a mousepad maintainer, though I can tell you some basics, when
> it comes to code changes in an xfce project:
>
> - Could you please open seperate bugs for each feature on
> https://bugzilla.xfce.org ?
> Like that each feature can be discussed seperately which should simplify
> the process.
>
> - Please provide a git patch for each feature by using "git
> format-patch" and attach it to the according bug.
> That simplifies testing, and we already have the correct mail/name the
> author want to use.
>
> Cheers,
>
> Alexander Schwinn
>
> Am 09.11.19 um 13:50 schrieb Michaël Meyer:
>> Hello,
>>
>> I've changed a few things in Mousepad which I'd like to be merged. I
>> believe it
>> is best to discuss this here first and get feedback. Here's what I
>> propose:
>>
>> * A "Justify" feature that wraps text at a given column by inserting or
>> removing
>>   newline and space characters. It is roughly similar to the "joinlines"
>> plugin
>>   in Gedit and to text filling in emacs (though less sophisticated).
>>
>>   If some text is selected, it makes it fit between the column at which
>> the
>>   selection starts and the right margin defined in the GtkSourceView.
>> Otherwise,
>>   it wraps the paragraph on which the cursor is positioned, between the
>> column
>>   of the first non-blank character in the first line and the right margin,
>> thus
>>   preserving indention. (By paragraph here I mean a sequence of non-blank
>>   lines).
>>
>> * In the "Open file" dialog, I added two filters "Text files" and "All
>> files".
>>   Not having a "Text files" filter is annoying when navigating directories
>>   that contain plenty of binary files.
>>
>> * I changed the way the names of opened files are displayed. If a file
>> resides
>>   in the user's home directory, the $HOME part of the file name is
>> replaced
>>   with a tilde. The goals are (1) to make the file path fit in less space
>> so
>>   that it is more likely to be displayed in full in the taskbar; (2) to
>> make
>>   the path easier to read. This behaviour might however be confusing when
>>   editing files as root, so it might be better to disable it in this case.
>>
>> I'm open to suggestions, critics, and so on.
>>
>> Cheers,
>>
>> Michaël
>> _______________________________________________
>> Xfce4-dev mailing list
>> Xfce4-dev at xfce.org
>> https://mail.xfce.org/mailman/listinfo/xfce4-dev
>
>
>
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce4-dev


More information about the Xfce4-dev mailing list