AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TextPad syntax file (Autohotkey.syn) problem

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
SanskritFritz



Joined: 17 Feb 2005
Posts: 283
Location: Hungary, Budapest

PostPosted: Sat Feb 19, 2005 11:59 pm    Post subject: TextPad syntax file (Autohotkey.syn) problem Reply with quote

The entry
Code:
SingleCommentCol = Leading
is wrong, comments can occur in AutoHotkey on the end of the line as well. Quote from the TextPad help file:
Code:
SingleCommentCol = If a single line comment must start in a specific column, assign the number here. If it must start in the first non-blank column, assign "Leading" here.

_________________
Is there another word for synonym?
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Sun Feb 20, 2005 7:47 am    Post subject: Reply with quote

yeah u're right... thanx for bringing that to notice. Chris can fix this on his end easily. Smile
_________________
Back to top
View user's profile Send private message
SanskritFritz



Joined: 17 Feb 2005
Posts: 283
Location: Hungary, Budapest

PostPosted: Sun Feb 20, 2005 9:54 am    Post subject: Reply with quote

Glad to be able to help. I use AutoHotkey for about a week now, i am really fascinated. I started to port all my MacroExpress macros to AHK. I want to switch fully to AHK (even though i am a registered ME user!), because it is lightning fast and seems to be very stable compared to ME.
_________________
Is there another word for synonym?
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Sun Feb 20, 2005 10:16 am    Post subject: Reply with quote

this has helped to fix the problem of non highlighting of same line comments in TextPad!
_________________
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Sun Feb 20, 2005 2:10 pm    Post subject: Reply with quote

I've commented out the following line in "Generate TextPad.ahk" and it seems to do the trick. If it's wrong in any way, please let me know:

;FileAppend, SingleCommentCol = Leading`n, %TargetFile%
Back to top
View user's profile Send private message Send e-mail
SanskritFritz



Joined: 17 Feb 2005
Posts: 283
Location: Hungary, Budapest

PostPosted: Sun Feb 20, 2005 2:23 pm    Post subject: Reply with quote

It is perfect, thanks!
_________________
Is there another word for synonym?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group