AkelPad Forum Index AkelPad
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bug? Editor highlights "File: " without "//&q

 
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English)
View previous topic :: View next topic  
Author Message
Rob Crutchfield



Joined: 02 Nov 2015
Posts: 6

PostPosted: Fri Jan 08, 2016 9:32 pm    Post subject: Bug? Editor highlights "File: " without "//&q Reply with quote

Strings starting with file:// and http:// are correctly highlighted and made active. But sometimes I might want to type

Log file: MYLOG.LOG

or

File: A tool for shaping metal objects

or

http: An internet protocol for hypertext documents

and in those cases I don't want it highlighted and activated. Shouldn't it check for // before treating it as a protocol? (You could even check for an appropriate character immediately after the //, so that one could type

An ftp URL starts with 'ftp://'

But checking for // would cover most cases.)
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1841
Location: Poland

PostPosted: Fri Jan 08, 2016 10:05 pm    Post subject: Reply with quote

Rob Crutchfield
Add slashes to url prefixes in AkelPad settings (Main menu -> Options -> Settings -> Editor 2 -> Hyperlinks -> Prefixes), eg:
http:// https:// ftp:// file://
Back to top
View user's profile Send private message
Rob Crutchfield



Joined: 02 Nov 2015
Posts: 6

PostPosted: Fri Jan 08, 2016 11:49 pm    Post subject: Reply with quote

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group