I'm on geany 1.36 and, to my surprise, it seems impossible to write/display a traditional paragraph where only the first line is indented.
To reproduce the issue:
1. Turn on line wrapping (Edit -> Preferences -> Editor -> Features -> check "Line wrapping")
2. Turn off autoindent (Edit -> Preferences -> Editor -> Indentation -> for "Auto-indent mode" choose "None)
3. Start typing until the line wraps and you have two lines
4. Go back to the beginning of the first line and press Tab
Expected result: First line is indented and second line continues to touch the margin.
Actual result: Both lines are displayed as indented.
Please, how can I achieve the expected result so that geany renders wrapped lines as expected?
Thanks, -Bruno
On 2020-08-14 12:08 p.m., Bruno Dantas wrote:
I'm on geany 1.36 and, to my surprise, it seems impossible to write/display a traditional paragraph where only the first line is indented.
To reproduce the issue:
- Turn on line wrapping (Edit -> Preferences -> Editor -> Features ->
check "Line wrapping")
- Turn off autoindent (Edit -> Preferences -> Editor -> Indentation ->
for "Auto-indent mode" choose "None)
Start typing until the line wraps and you have two lines
Go back to the beginning of the first line and press Tab
Expected result: First line is indented and second line continues to touch the margin.
Actual result: Both lines are displayed as indented.
Please, how can I achieve the expected result so that geany renders wrapped lines as expected?
1. Click Tools->Configuration Files->filetypes.common
2. In the file that opens, remove the `#~ ` comments from the beginning of the second line that says `[styling]` and from the line that says `line_wrap_indent`. There should be no leading spaces on these lines.
3. Change the value of the `line_wrap_indent` to `0;0`.
4. Save the file (it already knows where to save it).
5. Click Tools->Reload Configuration.
Regards, Matthew Brush
Matthew, that totally did the trick. Thank you so much!! There's not a chance in a million years that I would have been able to figure that out on my own.
Happy hacking! -Bruno
Did I miss a post, or did Matthew reply offlist>
I'd like to know the trick ....
On Friday, August 14, 2020 09:32:00 PM Bruno Dantas wrote:
Matthew, that totally did the trick. Thank you so much!! There's not a chance in a million years that I would have been able to figure that out on my own.
On Sat, 15 Aug 2020 at 22:32, rhkramer@gmail.com wrote:
Did I miss a post, or did Matthew reply offlist>
Missed it:
1. Click Tools->Configuration Files->filetypes.common
2. In the file that opens, remove the `#~ ` comments from the beginning of the second line that says `[styling]` and from the line that says `line_wrap_indent`. There should be no leading spaces on these lines.
3. Change the value of the `line_wrap_indent` to `0;0`.
4. Save the file (it already knows where to save it).
5. Click Tools->Reload Configuration.
Regards, Matthew Brush
I'd like to know the trick ....
On Friday, August 14, 2020 09:32:00 PM Bruno Dantas wrote:
Matthew, that totally did the trick. Thank you so much!! There's not a chance in a million years that I would have been able to figure that out on my own.
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users