Re: [Harbour] Re: SF.net SVN: harbour-project:[14007] trunk/harbour

2010-02-27 Thread Massimo Belgrano
regarding function-doc of harbour tree
Imo is better done by double click or pressing a function key (imo f1)  doc/
instead type(
because i need help reading already written source so i not type (
can you give simular result also using  harbour language guide by
xharbour.com?
as i have previous written i use a macro in xmate for this works


regarding function of my program
Ctrl -t in xmate open function if is inside project



2010/2/27 Pritpal Bedi bediprit...@hotmail.com



 vouchcac wrote:
 
  + Implemented: auto activating and displaying the function's
  documentation
you have currently finished typing opening brace. This feature
is activated only when you have initialized the documentation
browser by clicking on the H icon on the right toolbar.
 

 Forgot to mention that function-doc will only be activated if that is
 available in Harbour documentation tree. Also function's opening brace
 must be the last character of the function, no spaces inbetween.

   oWnd := QMainWindow ()  =  will not popup document in the viewer.
   oWnd := QMainWindow()   =  will popup the document.

 A function is recognized by opening brace only and the word preceeding
 will attempt to locate the function in Document Viewer Tree.

 --
Massimo Belgrano
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: SF.net SVN: harbour-project:[14007] trunk/harbour

2010-02-27 Thread Pritpal Bedi


Massimo Belgrano wrote:
 
 regarding function-doc of harbour tree
 Imo is better done by double click or pressing a function key (imo f1) 
 doc/
 instead type(
 because i need help reading already written source so i not type (
 

Yep, double click is required, implementing.
With ( it is added advantage.



 can you give simular result also using  harbour language guide by
 xharbour.com?
 as i have previous written i use a macro in xmate for this works
 

How you are using macro, show me code example.
I can assume, though may be wrongly, that it will be Windows only solution.



 regarding function of my program
 Ctrl -t in xmate open function if is inside project
 

hbIDE is not _ONE_ project based but multiple.
I am thinking on the subject and hopefully will come with a solution.



-
 enjoy hbIDEing...
Pritpal Bedi 
_a_student_of_software_analysis__design_
-- 
View this message in context: 
http://n2.nabble.com/SF-net-SVN-harbour-project-14007-trunk-harbour-tp4643694p4645951.html
Sent from the harbour-devel mailing list archive at Nabble.com.
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: SF.net SVN: harbour-project:[14007] trunk/harbour

2010-02-27 Thread Massimo Belgrano
2010/2/27 Pritpal Bedi bediprit...@hotmail.com



 Massimo Belgrano wrote:
 
 

 Yep, double click is required, implementing.
 With ( it is added advantage.

Agree!





 How you are using macro, show me code example.
 I can assume, though may be wrongly, that it will be Windows only solution.

 yey i have insert in xmate In Option Keyboard mapping user e menu
associate fo key f1 i use
follow macro to integrate xharbour language reference in xmate
-
|cTopic|
IF( Empty( cTopic := ::GetText() ), cTopic := ::GetWord(.F.) ),
HtmlHelpTopic( ::hWnd, c:\harbour\xhdoc\xHarbour Language
Reference Guide.chm, cTopic )



  regarding function of my program
  Ctrl -t in xmate open function if is inside project
 

 hbIDE is not _ONE_ project based but multiple.
 I am thinking on the subject and hopefully will come with a solution.


 Yes but like search i can select where works, or select in project tree

-- 
Massimo Belgrano
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: SF.net SVN: harbour-project:[14007] trunk/harbour

2010-02-27 Thread Pritpal Bedi


Massimo Belgrano wrote:
 
 |cTopic|
 IF( Empty( cTopic := ::GetText() ), cTopic := ::GetWord(.F.) ),
 HtmlHelpTopic( ::hWnd, c:\harbour\xhdoc\xHarbour Language
 Reference Guide.chm, cTopic )
 

HtmlHelpTopic( ::hWnd, c:\harbour\xhdoc\xHarbour Language
Reference Guide.chm, cTopic )

Invokes a Windows only function, which I can too, but then 
hbIDE will not be multi-platform. So this implimentation will never be 
in hbIDE unless I come out with other solution.

Anybody has any other idea ?



 hbIDE is not _ONE_ project based but multiple.
 I am thinking on the subject and hopefully will come with a solution.


 Yes but like search i can select where works, or select in project tree
 

Yes, this is the only way.
Will try to implement soon.
One question however, what if the same function exists in two sources?




-
 enjoy hbIDEing...
Pritpal Bedi 
_a_student_of_software_analysis__design_
-- 
View this message in context: 
http://n2.nabble.com/SF-net-SVN-harbour-project-14007-trunk-harbour-tp4643694p4646410.html
Sent from the harbour-devel mailing list archive at Nabble.com.
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: SF.net SVN: harbour-project:[14007] trunk/harbour

2010-02-27 Thread Viktor Szakáts

 Massimo Belgrano wrote:
 
  |cTopic|
  IF( Empty( cTopic := ::GetText() ), cTopic := ::GetWord(.F.) ),
  HtmlHelpTopic( ::hWnd, c:\harbour\xhdoc\xHarbour Language
  Reference Guide.chm, cTopic )
 

 HtmlHelpTopic( ::hWnd, c:\harbour\xhdoc\xHarbour Language
 Reference Guide.chm, cTopic )

 Invokes a Windows only function, which I can too, but then
 hbIDE will not be multi-platform. So this implimentation will never be
 in hbIDE unless I come out with other solution.

 Anybody has any other idea ?


Custom list of external commands. If you need to pass
some values, you can add support for macros. (f.e. {TOPIC}
means cTopic), and then call the external command. Most
of the things can be solved using them.

Brgds,
Viktor
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: SF.net SVN: harbour-project:[14007] trunk/harbour

2010-02-27 Thread Pritpal Bedi


Viktor Szakáts wrote:
 
 Custom list of external commands. If you need to pass
 some values, you can add support for macros. (f.e. {TOPIC}
 means cTopic), and then call the external command. Most
 of the things can be solved using them.
 

Yes I am aware but for this particular purpose {TOPIC}
needs to be supplied with the .chm which I do not know how 
to pass:

start  C:\creative.acp\ActiveX\rmchart.chm

Opens up the rmchart.chm, though, I cannot pass

start  C:\creative.acp\ActiveX\rmchart.chm AddCaption

Any ideas?



-
 enjoy hbIDEing...
Pritpal Bedi 
_a_student_of_software_analysis__design_
-- 
View this message in context: 
http://n2.nabble.com/SF-net-SVN-harbour-project-14007-trunk-harbour-tp4643694p4646749.html
Sent from the harbour-devel mailing list archive at Nabble.com.
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: SF.net SVN: harbour-project:[14007] trunk/harbour

2010-02-27 Thread Viktor Szakáts

  Custom list of external commands. If you need to pass
  some values, you can add support for macros. (f.e. {TOPIC}
  means cTopic), and then call the external command. Most
  of the things can be solved using them.
 

 Yes I am aware but for this particular purpose {TOPIC}
 needs to be supplied with the .chm which I do not know how
 to pass:

 start  C:\creative.acp\ActiveX\rmchart.chm

 Opens up the rmchart.chm, though, I cannot pass

 start  C:\creative.acp\ActiveX\rmchart.chm AddCaption

 Any ideas?


I've never tried to do this, but if nothing else works,
one can write a little tool which does the job (outside
of Harbour SVN that is). Such little tool can use any dirty
tricks the OS allows, and most of the time such tool is
already written by someone else.

Regarding Harbour, I'd personally suggest to focus on the
generic part of the problem.

BTW, with simple html, it's just 'URL/#{TOPIC}'.

FWIW, .chm files are no longer supported out of the box
on Win7.

Brgds,
Viktor
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: SF.net SVN: harbour-project:[14007] trunk/harbour

2010-02-26 Thread Pritpal Bedi


vouchcac wrote:
 
 + Implemented: auto activating and displaying the function's
 documentation
   you have currently finished typing opening brace. This feature 
   is activated only when you have initialized the documentation 
   browser by clicking on the H icon on the right toolbar.
 

Forgot to mention that function-doc will only be activated if that is 
available in Harbour documentation tree. Also function's opening brace 
must be the last character of the function, no spaces inbetween.
   
   oWnd := QMainWindow ()  =  will not popup document in the viewer.
   oWnd := QMainWindow()   =  will popup the document.

A function is recognized by opening brace only and the word preceeding
will attempt to locate the function in Document Viewer Tree.

-
 enjoy hbIDEing...
Pritpal Bedi 
_a_student_of_software_analysis__design_
-- 
View this message in context: 
http://n2.nabble.com/SF-net-SVN-harbour-project-14007-trunk-harbour-tp4643694p4643706.html
Sent from the harbour-devel mailing list archive at Nabble.com.
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour