Page 1 of 1

editor questions

PostPosted: Sun Jan 12, 2014 10:00 pm
by richardb
editor question

why isn't there an undo button on the edit windows

how do I block tab?

for next loops don't seem to auto indent

what's worse is when I press tab when text is selected deletes it..

Re: editor questions

PostPosted: Mon Jan 13, 2014 9:53 am
by David John Barker
> why isn't there an undo button on the edit windows

The toolbar just has basic funcionality. Toolbar undo is not implemented. You can however use Ctrl+Z for undo, or select the menu option.

> how do I block tab?

Highlight your code, then select Ctrl+Tab

> for next loops don't seem to auto indent

This feature is not implemented

> what's worse is when I press tab when text is selected deletes it..

Highlight your code, then select Ctrl+Tab

Re: editor questions

PostPosted: Mon Jan 13, 2014 10:51 am
by richardb
:(

these sorts of things are minor but so irritating if you use other software

its different to swordfish vb.net and quartus(Altera's studio).

If I accidentally hit tab it deletes the code then I have to find undo in the menues..

I still find it annoying in sf that you can't do block comment to comment out code

and I know that you can use braces but..... if you already have code that's commented out then block comment doesn't work

Code: Select all
public function Position(pSubStr,pStr as string) as integer
   dim Index, SubIndex, SubLength as byte

  { result = -1
   SubIndex = 0
{
 Index = 0
   SubLength = Length(pSubStr)
}
   while (SubIndex < SubLength) and (pStr(Index) <> NULL)
      if pStr(Index) = pSubStr(SubIndex) then
         inc(SubIndex)
          if SubIndex = SubLength then
           result = integer(Index) - SubLength + 1
         end if
      else
        SubIndex = 0
      end if
     inc(Index)}
   end while
end function



if I do that everything after the first } isn't commented out.

maybe this is fixed in firewing but I would prefer a button for block comment and uncomment


vb and quartus use this method + many others.

I guess you could call this a editor feature request

Richard