IonicWind Software

IWBasic => IWB 2.5 Beta => The BoneYard => IWB 2.5 beta Development => Topic started by: LarryMc on December 30, 2011, 10:07:56 PM

Title: Update 12-30-2011
Post by: LarryMc on December 30, 2011, 10:07:56 PM
Completed the code for auto indentation.
The current IDE has auto indentation.  When the user presses ENTER the next line is automatically indented to the same level as the line just left.

I took it one step farther. If the previous had one of the following words as the first words on the line the following line will be indented to one more level. (as shown in the attached image.

If you notice a keyword I have omitted let me know.

QuoteIF
IFELSE
ELSE
SELECT
CASE
CASE&
FOR
DO
WHILE
ENUM
TYPE
SUB
GLOBAL SUB
UNION
INTERFACE
CLASS
TRY
CATCH
DATABEGIN
BEGINMENU
MENUTITLE
BEGINPOPUP
BEGININSERTMENU

LarryMc
Title: Re: Update 12-30-2011
Post by: Brian on December 31, 2011, 04:59:35 AM
You DO you like your indenting, Larry!

Brian