2010-02-26 18:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)

* contrib/hbqt/THbQtUI.prg
    ! Miss of prev commit.

  * contrib/hbide/idefindreplace.prg
    ! A nasty fix.

  * contrib/hbide/ideharbourhelp.prg
    + Implemented: text file viewer "as is" if it does not contain 
      any function's documentation. In Harbour's /doc* tree
      there are many files without NANFORUM tags.
This commit is contained in:
Pritpal Bedi
2010-02-27 02:18:35 +00:00
parent 2a225512dc
commit 284f6b1012
4 changed files with 47 additions and 12 deletions

View File

@@ -17,6 +17,38 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-02-26 18:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/THbQtUI.prg
! Miss of prev commit.
* contrib/hbide/idefindreplace.prg
! A nasty fix.
* contrib/hbide/ideharbourhelp.prg
+ Implemented: text file viewer "as is" if it does not contain
any function's documentation. In Harbour's /doc* tree
there are many files without NANFORUM tags.
2010-02-26 16:54 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/resources/docviewgenerator.ui
* contrib/hbide/resources/docviewgenerator.uic
! Enabled: left-right tab-widgets to share space as per user wish.
You can resize the indivisual tab-widgets, move cursor in-between
horizontal divider.
* doc/hdr_tpl.txt
! Little correction in exact number of spaces and little
more awareness tip for writer.
* contrib/hbide/ideharbourhelp.prg
* contrib/hbide/idemisc.prg
! More refinements the way Harbour document is displayed.
Please forward your suggessions.
! Presentation: documents tree is now exact syncronization with
Harbour's folder structure but depicting only those folders
with /doc and /doc/en endingings.
+ Enabled: to reload the tree on the fly. Marco, check it.
2010-02-26 23:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/tget.prg
* tests/rto_get.prg

View File

@@ -322,11 +322,7 @@ METHOD IdeFindReplace:create( oIde )
::oIde := oIde
#ifdef HBIDE_USE_UIC
::oUI := HbQtUI():new( ::oIde:resPath + "finddialog.uic", ::oIde:oDlg:oWidget ):build()
#else
::oUI := HbQtUI():new( ::oIde:resPath + "finddialog.ui", ::oIde:oDlg:oWidget ):create()
#endif
::oUI:setWindowFlags( Qt_Sheet )
aeval( ::oIde:aIni[ INI_FIND ], {|e| ::oUI:q_comboFindWhat:addItem( e ) } )
@@ -339,7 +335,7 @@ METHOD IdeFindReplace:create( oIde )
::oUI:signal( "buttonReplace", "clicked()", {|| ::onClickReplace() } )
::oUI:signal( "buttonClose" , "clicked()", ;
{|| ::oIde:aIni[ INI_HBIDE, FindDialogGeometry ] := hbide_posAndSize( ::oUI:oWidget ), ;
::oUI:hide(), ::oSearchReplace:oUI:hide() } )
::oUI:hide() } )
::oUI:signal( "comboFindWhat", "editTextChanged(text)", {|| ::oUI:q_radioEntire:setChecked( .t. ) } )

View File

@@ -966,14 +966,18 @@ METHOD IdeHarbourHelp:populateTextFile( cTextFile )
aadd( aHtm, "<HTML>" )
aadd( aHtm, " <BODY>" )
aadd( aHtm, ' <H3 align=center><FONT color=blue>' + cTextFile + '</FONT></H3>' )
aadd( aHtm, ' <BR>' + '&nbsp;' + '</BR>' )
aadd( aHtm, ' <BR>' + '&nbsp; <HR></HR></BR>' )
IF nParsed > 0
aFn := ::aFuncByFile[ nParsed, 2 ]
FOR EACH oFunc IN aFn
IF hb_isObject( oFunc )
aadd( aHtm, ' <BR>' + oFunc:cName + '</BR>' )
ENDIF
NEXT
IF len( aFn ) > 0
FOR EACH oFunc IN aFn
IF hb_isObject( oFunc )
aadd( aHtm, ' <BR>' + oFunc:cName + '</BR>' )
ENDIF
NEXT
ELSE
aadd( aHtm, ' <BR><PRE>' + hb_memoread( cTextFile ) + '</PRE></BR>' )
ENDIF
ENDIF
aadd( aHtm, " </BODY>" )
aadd( aHtm, "</HTML>" )

View File

@@ -867,7 +867,10 @@ STATIC FUNCTION hbq_getConstants()
;
"Qt_ScrollBarAsNeeded" => Qt_ScrollBarAsNeeded , ;
"Qt_ScrollBarAlwaysOff" => Qt_ScrollBarAlwaysOff , ;
"Qt_ScrollBarAlwaysOn" => Qt_ScrollBarAlwaysOn ;
"Qt_ScrollBarAlwaysOn" => Qt_ScrollBarAlwaysOn , ;
;
"Qt_Horizontal" => Qt_Horizontal , ;
"Qt_Vertical" => Qt_Vertical ;
}
ENDIF