I have also noticed the incorrect cursor place when syntax error occured.
The "error" was triggered by a regular expression containing # and editor
misinterpreting it as a comment.
Like in:
bar = foo.split /#BEGIN (\w*)_section\n(.*)\n#END (\w*)_section/
On Tue, Apr 22, 2008 at 10:45 PM, DAZ <[EMAIL PROTECTED]> wrote:
>
> The cursor seems to be in the right place for me.
>
> The editor is highlighting a syntax error for this line:
> errors.add(:email, "must be valid.") unless email.include? ("@")
>
> Is this because it is expecting an 'end' statement for the unless? If
> it is, then this could do with being touched up, as this sort of
> syntax is used quite often in Rails.
>
> DAZ
>
>
>
>
> On Apr 22, 8:28 pm, AzamSharp <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > The code editor is nice but the cursor seems to be in the incorrect
> > position. Like the cursor is two places up where the actual text is
> > being written.
> >
>
--
Baptiste
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---