Code Indentation following comment
Posted: Sun Jun 06, 2010 8:03 pm
Is there any way to set the auto-indentation to ignore comments
Please ignore the actual code, I'm just trying to solve the annoying indentation problem
If say, I'm testing, and I have these following lines (lifted from inside other code)
If I go to the end of the 5th line and press enter, to insert a line after this one, to add commands before the next line, then the 5th line will reset it's indentation to the same level as the commented out code above it.
I would like to know if there's any setting allow the IDE to ignore the commented indentation, and get it from the previous 'active' line.
Please ignore the actual code, I'm just trying to solve the annoying indentation problem
If say, I'm testing, and I have these following lines (lifted from inside other code)
Code: Select all
time = Mid(thisline, firstspace + 4, lenofline-firstspace-3)
; dummy.s = Str(track) + Chr(10) + tracktitle + Chr(10) + time + Chr(10) + endtime + Chr(10) + performer + Chr(10) + Picture + Chr(10) + TxtFile
; AddGadgetItem(#ListMP3, -1, dummy)
AddGadgetItem(#CE_Tree, -1, tracktitle,ImageID(#CE_Icon),-1)
SetGadgetItemState(#CE_Tree, CountGadgetItems(#CE_Tree)-1, #PB_Tree_Checked)
Picture.s = ""
I would like to know if there's any setting allow the IDE to ignore the commented indentation, and get it from the previous 'active' line.