
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