Shop OBEX P1 Docs P2 Docs Learn Events
BS Editor question — Parallax Forums

BS Editor question

ArchiverArchiver Posts: 46,084
edited 2002-11-23 20:16 in General Discussion
Hi All,

I'm sure this can be done, and I've looked around but I can't find out how.

Is there a way to do a "soft" return in the editor? So that the compiler
will view 2 or more lines of PBASIC as one line? I hate having debugs or
long statements trailing WAY off to the right.

Thanks,

Jonathan

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-11-23 15:33
    No, in the current editor all statements must exist on the same line. We are
    in development of a new editor and it does allow lines to be broken. The new
    editor should be ready for release in January.

    -- Jon Williams
    -- Parallax


    In a message dated 11/23/02 9:18:27 AM Central Standard Time,
    jpeakall@m... writes:


    > Hi All,
    >
    > I'm sure this can be done, and I've looked around but I can't find out how.
    >
    > Is there a way to do a "soft" return in the editor? So that the compiler
    > will view 2 or more lines of PBASIC as one line? I hate having debugs or
    > long statements trailing WAY off to the right.
    >
    > Thanks,
    >
    > Jonathan
    >




    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-11-23 16:33
    Jon,

    Thanks for the reply. I'm glad to hear this feature is on the way. By any
    chance, will the new editor be able to auto-highlight vars, routines and so
    on in different colors? Makes it easier for us simple minded to read our own
    code ;-)

    Jonathan

    Original Message
    From: <jonwms@a...>
    To: <basicstamps@yahoogroups.com>
    Sent: Saturday, November 23, 2002 7:33 AM
    Subject: Re: [noparse][[/noparse]basicstamps] BS Editor question


    > No, in the current editor all statements must exist on the same line. We
    are
    > in development of a new editor and it does allow lines to be broken. The
    new
    > editor should be ready for release in January.
    >
    > -- Jon Williams
    > -- Parallax
    >
    >
    > In a message dated 11/23/02 9:18:27 AM Central Standard Time,
    > jpeakall@m... writes:
    >
    >
    > > Hi All,
    > >
    > > I'm sure this can be done, and I've looked around but I can't find out
    how.
    > >
    > > Is there a way to do a "soft" return in the editor? So that the compiler
    > > will view 2 or more lines of PBASIC as one line? I hate having debugs or
    > > long statements trailing WAY off to the right.
    > >
    > > Thanks,
    > >
    > > Jonathan
    > >
    >
    >
    >
    >
    > [noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-11-23 18:21
    Yes, syntax highlighting is also in the new editor. It does not highlight
    labels (the start of your routines), but can highlight keywords and known
    [noparse][[/noparse]internal] constant names, comments, and quoted sections.

    I will check with engineering to see if we can add label-highlighting [noparse][[/noparse]no
    promise!] before release since the new editor does insist on having each
    label terminated with a colon [noparse][[/noparse]the current version is very lax about this].

    Other things that you'll enjoy: IF-THEN-ELSE, DO-LOOP, CASE-SELECT. We're
    working hard to make everything right. I've been programming in PBASIC for
    over eight years and the last couple of weeks have been the most fun with an
    early version of the new editor. BTW ... it is backward compatible with all
    BS2 Stamps.

    -- Jon Williams
    -- Applications Engineer, Parallax


    In a message dated 11/23/02 10:31:49 AM Central Standard Time,
    jpeakall@m... writes:


    > Jon,
    >
    > Thanks for the reply. I'm glad to hear this feature is on the way. By any
    > chance, will the new editor be able to auto-highlight vars, routines and so
    > on in different colors? Makes it easier for us simple minded to read our own
    > code ;-)
    >
    > Jonathan
    >




    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-11-23 18:31
    Will there be a new tokenizer release to support the new language
    features?

    BTW, MacBS2 already has limited syntax coloring (keywords and comments
    only), fwiw.

    _murat


    On Saturday, November 23, 2002, at 06:21 PM, jonwms@a... wrote:

    > Yes, syntax highlighting is also in the new editor. It does not
    > highlight
    > labels (the start of your routines), but can highlight keywords and
    > known
    > [noparse][[/noparse]internal] constant names, comments, and quoted sections.
    >
    > I will check with engineering to see if we can add label-highlighting
    > [noparse][[/noparse]no
    > promise!] before release since the new editor does insist on having
    > each
    > label terminated with a colon [noparse][[/noparse]the current version is very lax about
    > this].
    >
    > Other things that you'll enjoy: IF-THEN-ELSE, DO-LOOP, CASE-SELECT.
    > We're
    > working hard to make everything right. I've been programming in
    > PBASIC for
    > over eight years and the last couple of weeks have been the most fun
    > with an
    > early version of the new editor. BTW ... it is backward compatible
    > with all
    > BS2 Stamps.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    >
    >
    > In a message dated 11/23/02 10:31:49 AM Central Standard Time,
    > jpeakall@m... writes:
    >
    >
    >> Jon,
    >>
    >> Thanks for the reply. I'm glad to hear this feature is on the way. By
    >> any
    >> chance, will the new editor be able to auto-highlight vars, routines
    >> and so
    >> on in different colors? Makes it easier for us simple minded to read
    >> our own
    >> code ;-)
    >>
    >> Jonathan
    >>
    >
    >
    >
    >
    > [noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject
    > and Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-11-23 19:24
    Once the new editor is complete and fully tested, yes.

    -- Jon Williams
    -- Parallax

    In a message dated 11/23/02 12:33:03 PM Central Standard Time,
    murat_stamp@e... writes:


    > Will there be a new tokenizer release to support the new language
    > features?
    >
    > BTW, MacBS2 already has limited syntax coloring (keywords and comments
    > only), fwiw.
    >
    >




    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-11-23 20:03
    --- jonwms@a... wrote:
    > Yes, syntax highlighting is also in the new editor.

    Jon,

    BTW there are a few links in the Nuts & Volts
    columns that are missing, and or incorrect. For
    example, there is NO Column #8...Colum #7 refers to
    #6...That's a couple I noticed so far. Lots of stuff
    there! WOW!




    =====
    Chris Savage
    Knight Designs
    324 West Main Street
    Montour Falls, NY 14865
    (607) 535-6777

    http://www.knightdesigns.com

    __________________________________________________
    Do you Yahoo!?
    Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
    http://mailplus.yahoo.com
  • ArchiverArchiver Posts: 46,084
    edited 2002-11-23 20:16
    I have forwarded your comments to our web gurus. Thanks.

    -- Jon Williams
    -- Parallax

    In a message dated 11/23/02 2:04:42 PM Central Standard Time,
    knight_designs@y... writes:


    > Jon,
    >
    > BTW there are a few links in the Nuts & Volts
    > columns that are missing, and or incorrect. For
    > example, there is NO Column #8...Colum #7 refers to
    > #6...That's a couple I noticed so far. Lots of stuff
    > there!




    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.