Regarding reporting more precisely where an error occurs, turns out QB64 already generates that bit of info - which can be seen when you compile a program via the command line.
The update I'll be pushing today for the upcoming v1.5 will use that information for the IDE as well.
Keep in mind that the information reported is the fragment of the line where compilation found the error - you won't be seeing anything more detailed than that.
Also, keep in mind that the reported line fragment will have already passed through the tokenizer and will contain some extra internal information, like spaces and the length of text being reported after "quoted strings" (see below).
[ You are not allowed to view this attachment ]
[ You are not allowed to view this attachment ]
[ You are not allowed to view this attachment ]