Posted: Fri Feb 17, 2006 11:17 am
Nope, I don't have the Win98 full redraw option checked. But it flickers badly 4-5 times on load and when loading source. Official IDE does none of that.
http://www.purebasic.com
https://www.purebasic.fr/english/
No big problems here with jaPBe (I am using scintilla DLL 1.67, don't know if it's important), but the official IDE freezes 10 seconds at start on my home PC (Win98SE).netmaestro wrote:Nope, I don't have the Win98 full redraw option checked. But it flickers badly 4-5 times on load and when loading source. Official IDE does none of that.
Update again !RichardL wrote:Hi gnozal,
THANK YOU !
I have tested the SHIFT+CNTRL+TAB function on a number of source files and it appears to wok perfectly. Its an improvement that is truly worthwhile.
THANKS AGAIN !
Richard L
Code: Select all
; *** The first comment of the block (line 7) is much to left
If GoOn
For ImportData.w = 1 To 2
Select ImportData.w
Case 1
; Set up start and bytes for S/Pad+TIF+TSDB Section
USB_Start_address.l = 0 ; Start of download S/Pad ***
USB_Size.l = *StartOfLOG ; Number of bytes to download
Case 2
; Set up start and bytes for the LOG section
USB_Start_address.l = USB_LogClip_Start.l; Start of download
USB_Size.l = USB_Log_Clip_Size.l ; Number of bytes to download
EndSelect
; *****************
; LOTS OF CODE HERE
; *****************
Next
EndIf
; *** So the code is reformated like this :
If GoOn
For ImportData.w = 1 To 2
Select ImportData.w
Case 1
; Set up start and bytes for S/Pad+TIF+TSDB Section
USB_Start_address.l = 0 ; Start of download S/Pad ***
USB_Size.l = *StartOfLOG ; Number of bytes to download
Case 2
; Set up start and bytes for the LOG section
USB_Start_address.l = USB_LogClip_Start.l ; Start of download
USB_Size.l = USB_Log_Clip_Size.l ; Number of bytes to download
EndSelect
; *****************
; LOTS OF CODE HERE
; *****************
Next
EndIf
Code: Select all
; >>> TOO far to the right!
; Data import over USB
If GoOn
For ImportData.w = 1 To 2
Select ImportData.w
Case 1
; Set up start and bytes for S/Pad+TIF+TSDB Section
USB_Start_address.l = 0 ; Start of download S/Pad ***
USB_Size.l = *StartOfLOG ; Number of bytes to download
Case 2
; Set up start and bytes for the LOG section
USB_Start_address.l = USB_LogClip_Start.l ; Start of download
USB_Size.l = USB_Log_Clip_Size.l ; Number of bytes to download
EndSelect
k$ = "This is a long line of text that will cause all the comments to move much too far to the right" ; Long line
; *****************
; LOTS OF CODE HERE
; *****************
Next
EndIf
; >>> I choose the position with line ***
; Data import over USB
If GoOn
For ImportData.w = 1 To 2
Select ImportData.w
Case 1
; Set up start and bytes for S/Pad+TIF+TSDB Section
USB_Start_address.l = 0 ; Start of download S/Pad ***
USB_Size.l = *StartOfLOG ; Number of bytes to download
Case 2
; Set up start and bytes for the LOG section
USB_Start_address.l = USB_LogClip_Start.l ; Start of download
USB_Size.l = USB_Log_Clip_Size.l ; Number of bytes to download
EndSelect
k$ = "This is a long line of text that will cause all the comments to move much too far to the right" ; Long line
; *****************
; LOTS OF CODE HERE
; *****************
Next
EndIf
YesRichardL wrote:It looks like you have used the longest commented line in the block as the reference for the TAB position for all the comments.
Ok, I will make it optionalRichardL wrote:I would rather go back one revision![]()
Probably, but I don't know if it is compatible with all the actual coloring / indentation routines, and I don't see the advantage of TAB over SPACE.THCM wrote:Is there a possibilty to reformat my source using real tabs instead of spaces?