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

English main discussion
Post Reply
  • Author
  • Message
Offline
Posts: 6
Joined: Mon Nov 02, 2015 2:23 pm

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

Post by Rob Crutchfield »

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.)

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

Rob Crutchfield
Add slashes to url prefixes in AkelPad settings (Main menu -> Options -> Settings -> Editor 2 -> Hyperlinks -> Prefixes), eg:
http:// https:// ftp:// file://

Offline
Posts: 6
Joined: Mon Nov 02, 2015 2:23 pm

Post by Rob Crutchfield »

Thanks.
Post Reply