Page 1 of 1

[Done] The Procedure Help line comment not shown

Posted: Fri Feb 15, 2013 1:38 pm
by Bisonte
Hi.

If I made a comment like

Code: Select all

ProcedureDll MyProc(var) ; This is my proc
It's not displayed in IDE-Statusbar anymore...
Only

Code: Select all

MyProc(var)
after "tailbiting" it.

Is this a tailbite issue or IDE issue ?

Re: The Procedure Help line comment not shown

Posted: Sat Feb 16, 2013 12:29 pm
by ABBKlaus
Hello Bisonte,

its a compiler issue in PB5.10.

@Fred : can this be reenabled with a Compiler Switch ?

PB5.00 code :

Code: Select all

; 
; CompilerIf Defined(PurePDF_Include,#PB_Constant)
;#######################
;# TailBite / DLL-code #
;#######################
; ProcedureDLL.l pdf_AcceptPageBreak() ;Accept automatic page break or not
macro MP330{
_Procedure330:
  PS330=4
  CALL  _SYS_CheckStringBuffer@0                                                                                                                                                                                                                   
; ProcedureReturn ipdf_AcceptPageBreak()
  CALL  _Procedure228
  JMP   _EndProcedure331
; EndProcedure
  XOR    eax,eax
_EndProcedure331:
  RET
}
; 
; ProcedureDLL.l pdf_Addlink() ;Creates a new internal link and returns its identifier.
PB5.10 code :

Code: Select all

; 
; CompilerIf Defined(PurePDF_Include,#PB_Constant)
; 
; 
; 
; ProcedureDLL.l pdf_AcceptPageBreak() 
macro MP330{
_Procedure330:
  PS330=4
  CALL  _SYS_CheckStringBuffer@0                                                                                                                                                                                                                   
; ProcedureReturn ipdf_AcceptPageBreak()
  CALL  _Procedure228
  JMP   _EndProcedure331
; EndProcedure
  XOR    eax,eax
_EndProcedure331:
  RET
}
; 
; ProcedureDLL.l pdf_Addlink() 

Re: The Procedure Help line comment not shown

Posted: Mon Feb 18, 2013 1:55 pm
by gnozal
I have uploaded a quick and dirty fix : http://gnozal.ucoz.com/Tailbite_PB510.rar (compile with PB < 5.10)

Tailbite is searching for the 'Quick help' in the PB source file... works on a few examples.

Re: The Procedure Help line comment not shown

Posted: Mon Feb 18, 2013 3:38 pm
by Bisonte
thx I will check it out...

Edit:
Thanks. That works.

Re: The Procedure Help line comment not shown

Posted: Wed Mar 06, 2013 6:19 pm
by ABBKlaus
Thanks gnozal, i fixed that issue too.

Please have a look at the sources, its a bit different than yours :P

http://www.tailbite.com/downloads/TailBiteV1.4.9.zip

BR Klaus

Re: [Done] The Procedure Help line comment not shown

Posted: Mon Mar 11, 2013 10:57 am
by gnozal
Many thanks, Klaus.