From b1c1b88222d4ae84c0404452116c5d66ee0b3a3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Mon, 23 May 2011 19:44:55 +0000 Subject: [PATCH] [DEVELOPMENT ENVIRONMENT] * BUG: In the procedure list, finding a procedure by typing its name correctly scrolls the list. git-svn-id: svn://localhost/gambas/trunk@3858 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- app/src/gambas3/.icon.png | Bin 4355 -> 4256 bytes .../.src/Editor/Code/FProcedureList.class | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/gambas3/.icon.png b/app/src/gambas3/.icon.png index 080a423c815841989657ceb5395455a68908caa4..178cd41aaafd83b527043f730e75551728732a84 100644 GIT binary patch delta 4222 zcmV-^5P|Q5BA_9VNq<5~L_t(|oZXvwbXC>8$3J`TbMMW)nMX21fRHdx8nv{dSV{q_ z)rwYa>#M%k(s|HMR-Ra2SKIem`_^jh>U!%b)!I5ht=6F}h+wq{NMe{1LPBOT&$;v2 z`~8uDP6owe>cd;ERxZ#uubuizp>`nuOKT7xzOyMHR_+_C<==981OuM2{V z+jamDAMGSRCl(o%dfszd=RLy(K=vIw&|08`;O;e9+`BH1>Lwp6zS)B#t%y*|UI5Z= z{3{3xZHMrdJ%zX8kMBA62bzG~&;A2#z-U-|Whxu)%)_=^JW&dHiP6M+ECRW!3AOAc zecg79ZAguG;(zlgLK(~9VkKbeU2kB7!f04DJ(dl(=P@%kmY2%ljYJ8@^2Jq| z{OhU=O55NkZ$n2vgzZy(n;P1wDmy`Dg5b&T&8HwcnjdVcXUjkPLAi()ZbHgEp>@Y3 z;DOB@>x~c(SjuEgaQ}X9kdi26f92s@QcEW|27sCC_kfT{0kMUE2 z)pBMmol5+^YO(E1BouyqFGvSQ!<-xs-~VJ53#Lc&W+S|N2!bQNaodK9@>Y(Q)iXcG z!=n!@z*ug+@&`EF09r##loNykV*?6HORxpPfJ&HuZUkrpVcVQN1Hhsj6aQ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G~c)i}S`dVw6nwlsmD8O`dGI3a`5M#lRnP37^iP&h$ z)EG0iRIFIOmN#+OeDzZP&|*`)s{)UI35^FT=sDRzo$e#r)P~B)MS47p_MxO;Z*vzb z%U1Ei^Uw00L=O#ncX8|cKYu|=X5KjwAOxf*1@XI4Vx2AAwm6si{vfr%BHjebs_MCN zQ5ee_PqY>k6yP`xLQLKQkM03R5QC8%ku|a-RC3r+jQ$R#rm-xqgr}eSCDy)eq-SNJ zh2VEDZ^cc?M6S7kH5+e&-gb-;7-Pl~s$NU6uel4)l64GqweXdD|9_pmwL593J-}%H zXHx_a3i`QmZaR5c=~UEp&||#lM4XP8=6id(`N12$+n_2!UX7Us9Mc*(@UR93v2C1!WKm?NMYdnr`Xpp3Zmw_=O zL040SOb&7Jt2MlX~BsR_xs41mrUK!=fR^v?sC`e61 z`UB{MO=?F2*9H`~yzh2ar-XRnJhGeLG&SMPE~H-=Iy&39apMPJ(Ng9euH>&r5743f1d0}7 zF!+|NWgs?0x_^{hy=V#fC5vgOK8Ui^S>*!b1_FVyJa}^bleWM@nz6;mV$v!=MCdW5F*`m z>m!k{5kioXmdW+&H*xu@tEsI$Lgl`Sj<+#UiZ>tKnS5+j4$Z3 zbYD+z&G6mflJ(3RO@HwwXUuoa=wYc#j{pEAOn<^2?5X+0wMFZJ&M^Xja-b9l0$$#E zpyFbO3nYLc;3)7XMhF1#0R_N9AP-0f0$gN&t2+%e!^_@Dpba<z$vNmmFWKn^ zA;9moPANRhqRP*?`3Zu#bCH%J+OnGyFI(S_jt|UM_h-b_cWptdRJ`5*#Hv|7&t^_R zG53F={Iu<6?Yvt1i=UaTuFeZNS;_dUIIbIG%j2JA^Ut@Fl{ND}S6}k@f2<^@(H%T^ QApigX07*qoM6N<$f+$!@i~s-t diff --git a/app/src/gambas3/.src/Editor/Code/FProcedureList.class b/app/src/gambas3/.src/Editor/Code/FProcedureList.class index b3940ccdc..50f151d1b 100644 --- a/app/src/gambas3/.src/Editor/Code/FProcedureList.class +++ b/app/src/gambas3/.src/Editor/Code/FProcedureList.class @@ -92,7 +92,10 @@ Private Sub SetCurrent(iCurrent As Integer) $iCurrent = iCurrent If iOld >= 0 Then gvwProc.Rows[iOld].Refresh - If iCurrent >= 0 Then gvwProc.Rows[iCurrent].Refresh + If iCurrent >= 0 Then + gvwProc.Rows[iCurrent].Refresh + gvwProc[iCurrent, 0].EnsureVisible + Endif End