Dear Geany users,
I want to use Geany as a notepad, as well as a programming tool, and one thing I found missing was that code folding is not activated before I specify the file type in Document - File type, although I set Preferences - Editor - Functionality - Activate Folding checked.
Also, folding is not activated when I save as '.txt'.
Is there a way that I can use folding (1) right after I start a new document, and/or (2) I save the document as a '.txt' file?
Thanks in advance!
Sincerely, HR Kang.
Hi,
Geany decides the possible fold points by parsing the file. To do this it needs to know the filetype to know how to parse the file. So if you have no filetype you can't use folding.
Pure text files (.txt) have no filetype because they do not contain any syntax.
Cheers Lex
2009/11/12 Hyoung-Ryul Kang ohthere@gmail.com:
Dear Geany users,
I want to use Geany as a notepad, as well as a programming tool, and one thing I found missing was that code folding is not activated before I specify the file type in Document - File type, although I set Preferences - Editor - Functionality - Activate Folding checked.
Also, folding is not activated when I save as '.txt'.
Is there a way that I can use folding (1) right after I start a new document, and/or (2) I save the document as a '.txt' file?
Thanks in advance!
Sincerely, HR Kang.
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Thu, 12 Nov 2009 07:23:33 +0900 Hyoung-Ryul Kang ohthere@gmail.com wrote:
I want to use Geany as a notepad, as well as a programming tool, and one thing I found missing was that code folding is not activated before I specify the file type in Document - File type, although I set Preferences - Editor - Functionality - Activate Folding checked.
Also, folding is not activated when I save as '.txt'.
Is there a way that I can use folding (1) right after I start a new document, and/or (2) I save the document as a '.txt' file?
How would Geany know what to fold if it doesn't know the filetype?
Regards, Nick