Re: [Harbour] Re: HBEDITOR

2010-03-02 Thread Bruno Luciani
Yes , I have taken a look in it , and  use some code
but how you say  it is very complex

It is interesting a class but , when you have time

Thanks

Bruno

2010/3/1 Pritpal Bedi bediprit...@hotmail.com



 Bruno Luciani wrote:
 
  Could you send me a litle sample off how can generate
 
  a simple window with an instance of HBeditor from HBIDE
 
  Your editor is excelent and I like to use in another project
 
  I only need the code editor
 

 It is very coomplex. Infact it is composed of so many
 sub-components which can not be demonstrated stand-alone.
 You are encouraged to look into ideeditor.prg and see if
 you can pull-out anything meaningful.

 Or I will develop a class but in hbXBP framework to isolate the
 editor with centralized functionality, say, XbpCodeEditor().
 Right now all energies are concentrated on hbIDE only.


 -
 enjoy hbIDEing...
Pritpal Bedi
 _a_student_of_software_analysis__design_
 --
 View this message in context:
 http://n2.nabble.com/HBEDITOR-tp4658215p4658515.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

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


[Harbour] Re: HBEDITOR

2010-03-02 Thread Pritpal Bedi


Bruno Luciani wrote:
 
 but how you say  it is very complex
 

Because you do not know what else 
I had to do to make it functional as it looks.

Anyhow it is heartening that you found it so simple.




-
 enjoy hbIDEing...
Pritpal Bedi 
_a_student_of_software_analysis__design_
-- 
View this message in context: 
http://n2.nabble.com/HBEDITOR-tp4658215p4662167.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: HBEDITOR

2010-03-02 Thread Massimo Belgrano
Have you tried eary version of hbide?
http://article.gmane.org/gmane.comp.lang.harbour.devel/21876/match=hbide+screenshoot

Try expain what do you need, maj be that be a good sample

2010/3/2 Bruno Luciani bruno.luci...@gmail.com:
 Yes , I have taken a look in it , and  use some code
 but how you say  it is very complex

 It is interesting a class but , when you have time

 Thanks

 Bruno

 2010/3/1 Pritpal Bedi bediprit...@hotmail.com


 Bruno Luciani wrote:
 
  Could you send me a litle sample off how can generate
 
  a simple window with an instance of HBeditor from HBIDE
 
  Your editor is excelent and I like to use in another project
 
  I only need the code editor
 

 It is very coomplex. Infact it is composed of so many
 sub-components which can not be demonstrated stand-alone.
 You are encouraged to look into ideeditor.prg and see if
 you can pull-out anything meaningful.

 Or I will develop a class but in hbXBP framework to isolate the
 editor with centralized functionality, say, XbpCodeEditor().
 Right now all energies are concentrated on hbIDE only.


 -
                 enjoy hbIDEing...
                    Pritpal Bedi
 _a_student_of_software_analysis__design_
 --



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


Re: [Harbour] Re: HBEDITOR

2010-03-02 Thread Bruno Luciani
I am working in a Code Editor for Marinas-Ide , and I have a little and
buggy version
My problem it is low knowledge about use of classes and QT

In my version I have implemented a basic code editor , with copy cut and
paste

and , using code from HBeditor and reading qt doc , sintaxis  highlighting

But for example i try to implement display of column and line number in
status bar
but no work correctly and I don't know why.

Only work If I hit enter in an empty file , but if I move cursor in an
edited file

the information don't change.

Bruno



2010/3/2 Massimo Belgrano mbelgr...@deltain.it

 Have you tried eary version of hbide?

 http://article.gmane.org/gmane.comp.lang.harbour.devel/21876/match=hbide+screenshoot

 Try expain what do you need, maj be that be a good sample

 2010/3/2 Bruno Luciani bruno.luci...@gmail.com:
  Yes , I have taken a look in it , and  use some code
  but how you say  it is very complex
 
  It is interesting a class but , when you have time
 
  Thanks
 
  Bruno
 
  2010/3/1 Pritpal Bedi bediprit...@hotmail.com
 
 
  Bruno Luciani wrote:
  
   Could you send me a litle sample off how can generate
  
   a simple window with an instance of HBeditor from HBIDE
  
   Your editor is excelent and I like to use in another project
  
   I only need the code editor
  
 
  It is very coomplex. Infact it is composed of so many
  sub-components which can not be demonstrated stand-alone.
  You are encouraged to look into ideeditor.prg and see if
  you can pull-out anything meaningful.
 
  Or I will develop a class but in hbXBP framework to isolate the
  editor with centralized functionality, say, XbpCodeEditor().
  Right now all energies are concentrated on hbIDE only.
 
 
  -
  enjoy hbIDEing...
 Pritpal Bedi
  _a_student_of_software_analysis__design_
  --
 
 

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

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


Re: [Harbour] Re: HBEDITOR

2010-03-02 Thread Bruno Luciani
Where I can get , thisearly version ?

Bruno

2010/3/2 Massimo Belgrano mbelgr...@deltain.it

 Have you tried eary version of hbide?

 http://article.gmane.org/gmane.comp.lang.harbour.devel/21876/match=hbide+screenshoot

 Try expain what do you need, maj be that be a good sample

 2010/3/2 Bruno Luciani bruno.luci...@gmail.com:
  Yes , I have taken a look in it , and  use some code
  but how you say  it is very complex
 
  It is interesting a class but , when you have time
 
  Thanks
 
  Bruno
 
  2010/3/1 Pritpal Bedi bediprit...@hotmail.com
 
 
  Bruno Luciani wrote:
  
   Could you send me a litle sample off how can generate
  
   a simple window with an instance of HBeditor from HBIDE
  
   Your editor is excelent and I like to use in another project
  
   I only need the code editor
  
 
  It is very coomplex. Infact it is composed of so many
  sub-components which can not be demonstrated stand-alone.
  You are encouraged to look into ideeditor.prg and see if
  you can pull-out anything meaningful.
 
  Or I will develop a class but in hbXBP framework to isolate the
  editor with centralized functionality, say, XbpCodeEditor().
  Right now all energies are concentrated on hbIDE only.
 
 
  -
  enjoy hbIDEing...
 Pritpal Bedi
  _a_student_of_software_analysis__design_
  --
 
 

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

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


Re: [Harbour] Re: HBEDITOR

2010-03-02 Thread francesco perillo
On Wed, Mar 3, 2010 at 12:23 AM, Bruno Luciani bruno.luci...@gmail.com wrote:
 Where I can get , thisearly version ?


From SVN,  going to some revisions back. Try harbour 2.0.0 official
source code package...
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: HBEDITOR

2010-03-02 Thread francesco perillo
 Only work If I hit enter in an empty file , but if I move cursor in an
 edited file

 the information don't change.


Probably you use isChanged signal. probably there is another
message or you have to capture event...

(just finished to read a manual on Qt can't be of more help...)
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: HBEDITOR

2010-03-02 Thread Bruno Luciani
Thanks I found it

Bruno

2010/3/2 francesco perillo fperi...@gmail.com

 On Wed, Mar 3, 2010 at 12:23 AM, Bruno Luciani bruno.luci...@gmail.com
 wrote:
  Where I can get , thisearly version ?


 From SVN,  going to some revisions back. Try harbour 2.0.0 official
 source code package...
 ___
 Harbour mailing list (attachment size limit: 40KB)
 Harbour@harbour-project.org
 http://lists.harbour-project.org/mailman/listinfo/harbour

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


Re: [Harbour] Re: HBEDITOR

2010-03-02 Thread Bruno Luciani
Yes I am using this signal , to detect changes in source code

and



cursorPositionChanged() to detect change in cursor position


I am seeing the Pritpal code and it use the same signal


I need to review how info is displayed in statud bar , I use my own way ,
and may be it is wrong


Bruno


2010/3/2 francesco perillo fperi...@gmail.com

  Only work If I hit enter in an empty file , but if I move cursor in an
  edited file
 
  the information don't change.


 Probably you use isChanged signal. probably there is another
 message or you have to capture event...

 (just finished to read a manual on Qt can't be of more help...)
 ___
 Harbour mailing list (attachment size limit: 40KB)
 Harbour@harbour-project.org
 http://lists.harbour-project.org/mailman/listinfo/harbour

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


Re: [Harbour] Re: HBEDITOR

2010-03-02 Thread Bruno Luciani
It seems that this function doesn't exist anymore or it is replaced

How is the correct way to connect this signal

 Qt_Connect_Signal( qEdit, cursorPositionChanged(), {|| ::dispEditInfo() }
)


or


 QT_SLOTS_CONNECT( s_slots , oEdit:pPtr , cursorPositionChanged(),{ ||
dispEditInfo()})



Bruno





2010/3/2 Bruno Luciani bruno.luci...@gmail.com

 Yes I am using this signal , to detect changes in source code

 and



 cursorPositionChanged() to detect change in cursor position


 I am seeing the Pritpal code and it use the same signal


 I need to review how info is displayed in statud bar , I use my own way ,
 and may be it is wrong


 Bruno


 2010/3/2 francesco perillo fperi...@gmail.com

  Only work If I hit enter in an empty file , but if I move cursor in an

  edited file
 
  the information don't change.


 Probably you use isChanged signal. probably there is another
 message or you have to capture event...

 (just finished to read a manual on Qt can't be of more help...)
 ___
 Harbour mailing list (attachment size limit: 40KB)
 Harbour@harbour-project.org
 http://lists.harbour-project.org/mailman/listinfo/harbour



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


[Harbour] Re: HBEDITOR

2010-03-01 Thread Pritpal Bedi


Bruno Luciani wrote:
 
 Could you send me a litle sample off how can generate
 
 a simple window with an instance of HBeditor from HBIDE
 
 Your editor is excelent and I like to use in another project
 
 I only need the code editor
 

It is very coomplex. Infact it is composed of so many 
sub-components which can not be demonstrated stand-alone.
You are encouraged to look into ideeditor.prg and see if 
you can pull-out anything meaningful.

Or I will develop a class but in hbXBP framework to isolate the 
editor with centralized functionality, say, XbpCodeEditor().
Right now all energies are concentrated on hbIDE only.


-
 enjoy hbIDEing...
Pritpal Bedi 
_a_student_of_software_analysis__design_
-- 
View this message in context: 
http://n2.nabble.com/HBEDITOR-tp4658215p4658515.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