editor questions

Discuss the Firewing development environment

editor questions

Postby richardb » Sun Jan 12, 2014 10:00 pm

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..
richardb
 
Posts: 63
Joined: Thu Aug 01, 2013 10:40 am

Re: editor questions

Postby David John Barker » Mon Jan 13, 2014 9:53 am

> 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
User avatar
David John Barker
 
Posts: 491
Joined: Thu Nov 08, 2012 12:21 pm

Re: editor questions

Postby richardb » Mon Jan 13, 2014 10:51 am

:(

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
richardb
 
Posts: 63
Joined: Thu Aug 01, 2013 10:40 am


Return to Development Environment

Who is online

Users browsing this forum: No registered users and 1 guest

cron

x