Hi,
I've been using geany for a couple months and really like it as my nedit replacement, but I'm running into an annoying problem that I'm not sure how to resolve. I maintain a "running notes" file in my public_html directory, its extension is one of our invisible php includes but I don't want the file syntax-highlighting as a php file, I want to be able to create a plaintext file type that I can select that has basically no formatting whatsoever.
Unfortunately, nothing I've tried so far seems to work, if there are tags like <? etc in the file they trigger these really visually annoying blue underline marks on every line for the rest of the file. If I leave the file as php, most of it gets formatted as string code due to single and double quotes and that also makes it hard to read. I would really love to be able to set up some kind of config that just treats the text as simple plaintext, plain white or whatever colour text on a nice black background.
Any help would be much appreciated!
Thanks! Miranda
On 7 September 2012 12:50, Miranda Hawarden-Ogata hawarden@ifa.hawaii.edu wrote:
Hi,
I've been using geany for a couple months and really like it as my nedit replacement, but I'm running into an annoying problem that I'm not sure how to resolve. I maintain a "running notes" file in my public_html directory, its extension is one of our invisible php includes but I don't want the file syntax-highlighting as a php file, I want to be able to create a plaintext file type that I can select that has basically no formatting whatsoever.
If the extension you use doesn't apply to anything you want highlighted then you can take it out of the filetypes.extensions file so it won't be recognised as a filetype.
Otherwise you can set the filetype to none and it should not highlight anything menu->document->set filetype->none
Cheers Lex
Unfortunately, nothing I've tried so far seems to work, if there are tags like <? etc in the file they trigger these really visually annoying blue underline marks on every line for the rest of the file. If I leave the file as php, most of it gets formatted as string code due to single and double quotes and that also makes it hard to read. I would really love to be able to set up some kind of config that just treats the text as simple plaintext, plain white or whatever colour text on a nice black background.
Any help would be much appreciated!
Thanks! Miranda
Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Fri, Sep 7, 2012 at 5:12 PM, Lex Trotman elextr@gmail.com wrote:
On 7 September 2012 12:50, Miranda Hawarden-Ogata hawarden@ifa.hawaii.edu wrote:
Hi,
I've been using geany for a couple months and really like it as my nedit replacement, but I'm running into an annoying problem that I'm not sure how to resolve. I maintain a "running notes" file in my public_html directory, its extension is one of our invisible php includes but I don't want the file syntax-highlighting as a php file, I want to be able to create a plaintext file type that I can select that has basically no formatting whatsoever.
If the extension you use doesn't apply to anything you want highlighted then you can take it out of the filetypes.extensions file so it won't be recognised as a filetype.
Otherwise you can set the filetype to none and it should not highlight anything menu->document->set filetype->none
Cheers Lex
Thanks for the suggestions, Lex, Matthew, unfortunately the issue I mentioned below occurs even when I set the filetype to "none" (via menu->document->set filetype->none). Digging through the preferences again, I ran across "use indicators to show compile errors" and the hover-tip explains that it underlines with the squiggly underline that I'm seeing, but I have that setting turned off. It's strange because I have geany installed on my centos box and my winxp box, and as far as I can tell, the preferences for both are set up the same, but the <? in the same file triggers the indicator in the centos geany only. Is there something else I can try?
Thanks! Miranda
Unfortunately, nothing I've tried so far seems to work, if there are tags like <? etc in the file they trigger these really visually annoying blue underline marks on every line for the rest of the file. If I leave the file as php, most of it gets formatted as string code due to single and double quotes and that also makes it hard to read. I would really love to be able to set up some kind of config that just treats the text as simple plaintext, plain white or whatever colour text on a nice black background.
Any help would be much appreciated!
Thanks! Miranda
Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On 12-09-07 02:06 PM, Miranda Hawarden-Ogata wrote:
On Fri, Sep 7, 2012 at 5:12 PM, Lex Trotman elextr@gmail.com wrote:
On 7 September 2012 12:50, Miranda Hawarden-Ogata hawarden@ifa.hawaii.edu wrote:
Hi,
I've been using geany for a couple months and really like it as my nedit replacement, but I'm running into an annoying problem that I'm not sure how to resolve. I maintain a "running notes" file in my public_html directory, its extension is one of our invisible php includes but I don't want the file syntax-highlighting as a php file, I want to be able to create a plaintext file type that I can select that has basically no formatting whatsoever.
If the extension you use doesn't apply to anything you want highlighted then you can take it out of the filetypes.extensions file so it won't be recognised as a filetype.
Otherwise you can set the filetype to none and it should not highlight anything menu->document->set filetype->none
Cheers Lex
Thanks for the suggestions, Lex, Matthew, unfortunately the issue I mentioned below occurs even when I set the filetype to "none" (via menu->document->set filetype->none). Digging through the preferences again, I ran across "use indicators to show compile errors" and the hover-tip explains that it underlines with the squiggly underline that I'm seeing, but I have that setting turned off. It's strange because I have geany installed on my centos box and my winxp box, and as far as I can tell, the preferences for both are set up the same, but the <? in the same file triggers the indicator in the centos geany only. Is there something else I can try?
It could be that the CentOS version is really old and maybe there used to be a bug that is since fixed. Or maybe you have plugin on the CentOS box that's doing it but it's not installed in the Windows version. You can also remove the markers/error indicators using Document menu->Remove Markers and Remove Error Indicators, though likely they will come back later from whatever is causing the squiggles to show up.
Otherwise, I don't know.
Cheers, Matthew Brush
Thanks! Miranda
Unfortunately, nothing I've tried so far seems to work, if there are tags like <? etc in the file they trigger these really visually annoying blue underline marks on every line for the rest of the file. If I leave the file as php, most of it gets formatted as string code due to single and double quotes and that also makes it hard to read. I would really love to be able to set up some kind of config that just treats the text as simple plaintext, plain white or whatever colour text on a nice black background.
Any help would be much appreciated!
Thanks! Miranda
Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Sat, Sep 8, 2012 at 1:34 PM, Matthew Brush mbrush@codebrainz.ca wrote:
On 12-09-07 02:06 PM, Miranda Hawarden-Ogata wrote:
On Fri, Sep 7, 2012 at 5:12 PM, Lex Trotman elextr@gmail.com wrote:
On 7 September 2012 12:50, Miranda Hawarden-Ogata hawarden@ifa.hawaii.edu wrote:
Hi,
I've been using geany for a couple months and really like it as my nedit replacement, but I'm running into an annoying problem that I'm not sure how to resolve. I maintain a "running notes" file in my public_html directory, its extension is one of our invisible php includes but I don't want the file syntax-highlighting as a php file, I want to be able to create a plaintext file type that I can select that has basically no formatting whatsoever.
If the extension you use doesn't apply to anything you want highlighted then you can take it out of the filetypes.extensions file so it won't be recognised as a filetype.
Otherwise you can set the filetype to none and it should not highlight anything menu->document->set filetype->none
Cheers Lex
Thanks for the suggestions, Lex, Matthew, unfortunately the issue I mentioned below occurs even when I set the filetype to "none" (via menu->document->set filetype->none). Digging through the preferences again, I ran across "use indicators to show compile errors" and the hover-tip explains that it underlines with the squiggly underline that I'm seeing, but I have that setting turned off. It's strange because I have geany installed on my centos box and my winxp box, and as far as I can tell, the preferences for both are set up the same, but the <? in the same file triggers the indicator in the centos geany only. Is there something else I can try?
It could be that the CentOS version is really old and maybe there used to be a bug that is since fixed. Or maybe you have plugin on the CentOS box that's doing it but it's not installed in the Windows version. You can also remove the markers/error indicators using Document menu->Remove Markers and Remove Error Indicators, though likely they will come back later from whatever is causing the squiggles to show up.
Otherwise, I don't know.
Cheers, Matthew Brush
Sigh. Yar, old version. Just checked and winxp version is 1.22, centos is 0.20.
Re the removing error indicators, I tried that as soon as I saw the explanation of what they were, but it didn't work either.
I'm using the RPMforge version, the EPEL version is 0.21... I don't suppose anyone happens to know if another repo has a newer version? I'd like to have this be my default nedit replacement, which would mean it gets dumped onto about 20 centos boxes, and I'd really rather not have to do manual installs for it....
Thanks! Miranda
On 12-09-07 04:55 PM, Miranda Hawarden-Ogata wrote:
On Sat, Sep 8, 2012 at 1:34 PM, Matthew Brush mbrush@codebrainz.ca wrote:
On 12-09-07 02:06 PM, Miranda Hawarden-Ogata wrote:
On Fri, Sep 7, 2012 at 5:12 PM, Lex Trotman elextr@gmail.com wrote:
On 7 September 2012 12:50, Miranda Hawarden-Ogata hawarden@ifa.hawaii.edu wrote:
Hi,
I've been using geany for a couple months and really like it as my nedit replacement, but I'm running into an annoying problem that I'm not sure how to resolve. I maintain a "running notes" file in my public_html directory, its extension is one of our invisible php includes but I don't want the file syntax-highlighting as a php file, I want to be able to create a plaintext file type that I can select that has basically no formatting whatsoever.
If the extension you use doesn't apply to anything you want highlighted then you can take it out of the filetypes.extensions file so it won't be recognised as a filetype.
Otherwise you can set the filetype to none and it should not highlight anything menu->document->set filetype->none
Cheers Lex
Thanks for the suggestions, Lex, Matthew, unfortunately the issue I mentioned below occurs even when I set the filetype to "none" (via menu->document->set filetype->none). Digging through the preferences again, I ran across "use indicators to show compile errors" and the hover-tip explains that it underlines with the squiggly underline that I'm seeing, but I have that setting turned off. It's strange because I have geany installed on my centos box and my winxp box, and as far as I can tell, the preferences for both are set up the same, but the <? in the same file triggers the indicator in the centos geany only. Is there something else I can try?
It could be that the CentOS version is really old and maybe there used to be a bug that is since fixed. Or maybe you have plugin on the CentOS box that's doing it but it's not installed in the Windows version. You can also remove the markers/error indicators using Document menu->Remove Markers and Remove Error Indicators, though likely they will come back later from whatever is causing the squiggles to show up.
Otherwise, I don't know.
Cheers, Matthew Brush
Sigh. Yar, old version. Just checked and winxp version is 1.22, centos is 0.20.
Even if it sounds like a big difference, versions went 0.20, 0.21, 1.22 so it's not *that* old, but still kind of old :)
Re the removing error indicators, I tried that as soon as I saw the explanation of what they were, but it didn't work either.
That makes it sound like a plugin might be putting error indicators, since using the menu to remove should always remove the ones Geany puts there itself AFAIK.
I'm using the RPMforge version, the EPEL version is 0.21... I don't suppose anyone happens to know if another repo has a newer version? I'd like to have this be my default nedit replacement, which would mean it gets dumped onto about 20 centos boxes, and I'd really rather not have to do manual installs for it....
I don't know any, unless you can use Fedora packages or something. Compiling from source isn't too painful if you can install GTK+ development stuff from pre-built packages, though doing it on 20 boxes might be tedious. Maybe you can compile on one box and make your own package? I have no idea what's involved for CentOS to do this.
Cheers, Matthew Brush
[...]
Sigh. Yar, old version. Just checked and winxp version is 1.22, centos is 0.20.
Even if it sounds like a big difference, versions went 0.20, 0.21, 1.22 so it's not *that* old, but still kind of old :)
Its still several years old though, but I don't remember any reports of problems like this back when it was current.
Re the removing error indicators, I tried that as soon as I saw the explanation of what they were, but it didn't work either.
That makes it sound like a plugin might be putting error indicators, since using the menu to remove should always remove the ones Geany puts there itself AFAIK.
I'm using the RPMforge version, the EPEL version is 0.21... I don't suppose anyone happens to know if another repo has a newer version? I'd like to have this be my default nedit replacement, which would mean it gets dumped onto about 20 centos boxes, and I'd really rather not have to do manual installs for it....
I don't know any, unless you can use Fedora packages or something. Compiling from source isn't too painful if you can install GTK+ development stuff from pre-built packages, though doing it on 20 boxes might be tedious. Maybe you can compile on one box and make your own package? I have no idea what's involved for CentOS to do this.
I vaguely remember someone on IRC saying Fedora packages had been made for 1.22, IIUC Centos can use them.
Cheers Lex
Cheers, Matthew Brush
Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On 12-09-07 05:13 PM, Matthew Brush wrote:
On 12-09-07 04:55 PM, Miranda Hawarden-Ogata wrote:
On Sat, Sep 8, 2012 at 1:34 PM, Matthew Brush mbrush@codebrainz.ca wrote:
On 12-09-07 02:06 PM, Miranda Hawarden-Ogata wrote:
On Fri, Sep 7, 2012 at 5:12 PM, Lex Trotman elextr@gmail.com wrote:
On 7 September 2012 12:50, Miranda Hawarden-Ogata hawarden@ifa.hawaii.edu wrote:
Hi,
I've been using geany for a couple months and really like it as my nedit replacement, but I'm running into an annoying problem that I'm not sure how to resolve. I maintain a "running notes" file in my public_html directory, its extension is one of our invisible php includes but I don't want the file syntax-highlighting as a php file, I want to be able to create a plaintext file type that I can select that has basically no formatting whatsoever.
If the extension you use doesn't apply to anything you want highlighted then you can take it out of the filetypes.extensions file so it won't be recognised as a filetype.
Otherwise you can set the filetype to none and it should not highlight anything menu->document->set filetype->none
Cheers Lex
Thanks for the suggestions, Lex, Matthew, unfortunately the issue I mentioned below occurs even when I set the filetype to "none" (via menu->document->set filetype->none). Digging through the preferences again, I ran across "use indicators to show compile errors" and the hover-tip explains that it underlines with the squiggly underline that I'm seeing, but I have that setting turned off. It's strange because I have geany installed on my centos box and my winxp box, and as far as I can tell, the preferences for both are set up the same, but the <? in the same file triggers the indicator in the centos geany only. Is there something else I can try?
It could be that the CentOS version is really old and maybe there used to be a bug that is since fixed. Or maybe you have plugin on the CentOS box that's doing it but it's not installed in the Windows version. You can also remove the markers/error indicators using Document menu->Remove Markers and Remove Error Indicators, though likely they will come back later from whatever is causing the squiggles to show up.
Otherwise, I don't know.
Cheers, Matthew Brush
Sigh. Yar, old version. Just checked and winxp version is 1.22, centos is 0.20.
Even if it sounds like a big difference, versions went 0.20, 0.21, 1.22 so it's not *that* old, but still kind of old :)
Re the removing error indicators, I tried that as soon as I saw the explanation of what they were, but it didn't work either.
That makes it sound like a plugin might be putting error indicators, since using the menu to remove should always remove the ones Geany puts there itself AFAIK.
I'm using the RPMforge version, the EPEL version is 0.21... I don't suppose anyone happens to know if another repo has a newer version? I'd like to have this be my default nedit replacement, which would mean it gets dumped onto about 20 centos boxes, and I'd really rather not have to do manual installs for it....
I don't know any, unless you can use Fedora packages or something. Compiling from source isn't too painful if you can install GTK+ development stuff from pre-built packages, though doing it on 20 boxes might be tedious. Maybe you can compile on one box and make your own package? I have no idea what's involved for CentOS to do this.
Actually, linked from the 3rd party packages page on Geany website is this:
http://www.melvilletheatre.com/articles/el6/index.html
It seems to have latest Geany 1.22 for CentOS, but I've no clue if it's any good or will post your bank account info on Facebook before deleting your hard drive (hence being under 3rd party pacakges) :)
Cheers, Matthew Brush
On Sat, Sep 8, 2012 at 2:27 PM, Matthew Brush mbrush@codebrainz.ca wrote:
On 12-09-07 05:13 PM, Matthew Brush wrote:
On 12-09-07 04:55 PM, Miranda Hawarden-Ogata wrote:
On Sat, Sep 8, 2012 at 1:34 PM, Matthew Brush mbrush@codebrainz.ca wrote:
On 12-09-07 02:06 PM, Miranda Hawarden-Ogata wrote:
On Fri, Sep 7, 2012 at 5:12 PM, Lex Trotman elextr@gmail.com wrote:
On 7 September 2012 12:50, Miranda Hawarden-Ogata hawarden@ifa.hawaii.edu wrote: > > > Hi, > > I've been using geany for a couple months and really like it as my > nedit > replacement, but I'm running into an annoying problem that I'm not > sure > how > to resolve. I maintain a "running notes" file in my public_html > directory, > its extension is one of our invisible php includes but I don't > want the > file > syntax-highlighting as a php file, I want to be able to create a > plaintext > file type that I can select that has basically no formatting > whatsoever.
If the extension you use doesn't apply to anything you want highlighted then you can take it out of the filetypes.extensions file so it won't be recognised as a filetype.
Otherwise you can set the filetype to none and it should not highlight anything menu->document->set filetype->none
Cheers Lex
Thanks for the suggestions, Lex, Matthew, unfortunately the issue I mentioned below occurs even when I set the filetype to "none" (via menu->document->set filetype->none). Digging through the preferences again, I ran across "use indicators to show compile errors" and the hover-tip explains that it underlines with the squiggly underline that I'm seeing, but I have that setting turned off. It's strange because I have geany installed on my centos box and my winxp box, and as far as I can tell, the preferences for both are set up the same, but the <? in the same file triggers the indicator in the centos geany only. Is there something else I can try?
It could be that the CentOS version is really old and maybe there used to be a bug that is since fixed. Or maybe you have plugin on the CentOS box that's doing it but it's not installed in the Windows version. You can also remove the markers/error indicators using Document menu->Remove Markers and Remove Error Indicators, though likely they will come back later from whatever is causing the squiggles to show up.
Otherwise, I don't know.
Cheers, Matthew Brush
Sigh. Yar, old version. Just checked and winxp version is 1.22, centos is 0.20.
Even if it sounds like a big difference, versions went 0.20, 0.21, 1.22 so it's not *that* old, but still kind of old :)
Re the removing error indicators, I tried that as soon as I saw the explanation of what they were, but it didn't work either.
That makes it sound like a plugin might be putting error indicators, since using the menu to remove should always remove the ones Geany puts there itself AFAIK.
I'm using the RPMforge version, the EPEL version is 0.21... I don't suppose anyone happens to know if another repo has a newer version? I'd like to have this be my default nedit replacement, which would mean it gets dumped onto about 20 centos boxes, and I'd really rather not have to do manual installs for it....
I don't know any, unless you can use Fedora packages or something. Compiling from source isn't too painful if you can install GTK+ development stuff from pre-built packages, though doing it on 20 boxes might be tedious. Maybe you can compile on one box and make your own package? I have no idea what's involved for CentOS to do this.
Actually, linked from the 3rd party packages page on Geany website is this:
http://www.melvilletheatre.com/articles/el6/index.html
It seems to have latest Geany 1.22 for CentOS, but I've no clue if it's any good or will post your bank account info on Facebook before deleting your hard drive (hence being under 3rd party pacakges) :)
Cheers, Matthew Brush
Yeah, ~blush~, let's just say that I just figured out I'd downloaded those third party rpms when I was installing the first time around, and somehow or another I still managed to install the out-dated 0.20 version. While looking at the third-party rpms, I also realised that the el5 version is the same as the rpmforge version, only the el6 version is using 1.22.
I have just finished yum-removing the 0.20 version (since yum would not let me update to 1.22 directly) and then yum-installing the newer version. I am now looking at my delightfully plain and simple notes file :D YAY!
Much appreciate the help from you and Lex, you guys got me pointed in the right direction :D
Thanks! Miranda
On 07/09/2012 22:06, Miranda Hawarden-Ogata wrote:
On Fri, Sep 7, 2012 at 5:12 PM, Lex Trotman elextr@gmail.com wrote:
Otherwise you can set the filetype to none and it should not highlight anything menu->document->set filetype->none
Thanks for the suggestions, Lex, Matthew, unfortunately the issue I mentioned below occurs even when I set the filetype to "none" (via menu->document->set filetype->none). Digging through the preferences again, I ran across "use indicators to show compile errors" and the hover-tip explains that it underlines with the squiggly underline that I'm seeing, but I have that setting turned off. It's strange because I have geany installed on my centos box and my winxp box, and as far as I can tell, the preferences for both are set up the same, but the <? in the same file triggers the indicator in the centos geany only. Is there something else I can try?
I think this got fixed in Geany 1.22. Not all style information for PHP was cleared when changing filetypes.
On 12-09-06 07:50 PM, Miranda Hawarden-Ogata wrote:
Hi,
I've been using geany for a couple months and really like it as my nedit replacement, but I'm running into an annoying problem that I'm not sure how to resolve. I maintain a "running notes" file in my public_html directory, its extension is one of our invisible php includes but I don't want the file syntax-highlighting as a php file, I want to be able to create a plaintext file type that I can select that has basically no formatting whatsoever.
Unfortunately, nothing I've tried so far seems to work, if there are tags like <? etc in the file they trigger these really visually annoying blue underline marks on every line for the rest of the file. If I leave the file as php, most of it gets formatted as string code due to single and double quotes and that also makes it hard to read. I would really love to be able to set up some kind of config that just treats the text as simple plaintext, plain white or whatever colour text on a nice black background.
Any help would be much appreciated!
Besides what Lex said, you can also put "-*- None -*-" as the first line of the file (without quotation marks). That should cause Geany to detect the filetype "None" and stop doing any type of highlighting.
Cheers, Matthew Brush