v1.50 : replace text : Yest to alll

Post your requests and ideas on the future development of mikroBasic PRO for PIC.
Post Reply
Author
Message
Kalain
Posts: 1093
Joined: 11 Mar 2005 18:26
Location: Aubenas, France

v1.50 : replace text : Yest to alll

#1 Post by Kalain » 29 May 2009 08:56

Hi,

When using "Replace Text" (Ctrl+R) and when choosing "Yes to All" in the next window, it would be nice (when "replace all" is finished) to stay or come back at the original line.

May be one of these options could be added :
- add an aditionnal choice in Replace windows Options, like : "Stay at original location (when "yes to all" is selected)
- add another button "Yes to All / Stay on cursor location"

By this way when using "Replace Text" / "Yes to all", you can still doing several Replace text without going at far end of program. :wink:
Alain

User avatar
marko.ziv
mikroElektronika team
Posts: 531
Joined: 06 Dec 2007 10:11
Contact:

#2 Post by marko.ziv » 01 Jun 2009 08:34

Hi,

noted and added to todo list of our IDE.
Thanks Kalain for suggesting this.

Best Regards

User avatar
milan
mikroElektronika team
Posts: 1013
Joined: 04 May 2006 16:36
Contact:

#3 Post by milan » 04 Dec 2009 11:07

Hi,

solved, solution will be included in the next release.

If you want to test this quickly : mikroBasic PRO for dsPIC will come out soon, probably beta in December (check for announcements on dsPIC forum).
SmartADAPT2 rules !

Kalain
Posts: 1093
Joined: 11 Mar 2005 18:26
Location: Aubenas, France

Re: v1.50 : replace text : Yest to alll

#4 Post by Kalain » 22 May 2010 11:28

Kalain wrote:Hi,

When using "Replace Text" (Ctrl+R) and when choosing "Yes to All" in the next window, it would be nice (when "replace all" is finished) to stay or come back at the original line.
Things has been improved in MB3.80 :D , Now when using "Replace all" you are not stacked at the end of last replace line. (which was most of the time at the end of prgram).
That's a good point.

By now, after using "replace all" instruction, occurence line in editor window is always located at fisrt line of editor window. This is bad behaviour because you do not have a good overview of code. (Can't see previous line of code, this is like is you had a big cap on your head!))

May be this is solution : :roll: :?:
http://www.mikroe.com/forum/viewtopic.php?f=98&t=25289
Alain

Kalain
Posts: 1093
Joined: 11 Mar 2005 18:26
Location: Aubenas, France

Re: v1.50 : replace text : Yest to alll

#5 Post by Kalain » 22 May 2010 21:58

MB 3.80

Well, for "Replace all", editor windows shouldn't move or change code line.

Try "Notepad2" or "Notepad++" and "Ctrl+H" (replace all) instruction.
When using "replace all", editor window do not change selected line in code.

In MB, "Replace all" should behave in the same way ?
Alain

User avatar
slavisa.zlatanovic
mikroElektronika team
Posts: 1321
Joined: 07 Apr 2009 09:39

Re: v1.50 : replace text : Yest to alll

#6 Post by slavisa.zlatanovic » 24 May 2010 11:37

Hi!
Well, for "Replace all", editor windows shouldn't move or change code line.
I couldn't reproduce this.
Can you send me a minimal project that depicts the issue you're talking about.
Thanks!

Best regards
Best regards
Slavisa

Kalain
Posts: 1093
Joined: 11 Mar 2005 18:26
Location: Aubenas, France

Re: v1.50 : replace text : Yest to alll

#7 Post by Kalain » 24 May 2010 14:33

slavisa.zlatanovic wrote:Hi!
Well, for "Replace all", editor windows shouldn't move or change code line.
I couldn't reproduce this.
Can you send me a minimal project that depicts the issue you're talking about.
Thanks!

Best regards
Ok, here is some more details.

- Open a provided example from MB3.80 : Examples\Extra boards\MMC\MMC Common\MMC_Test.mbppi
- Use Ctrl+R
- Search for : Uart1
- Replace with : Uart2
- Ok (button)

Now you should be located on line nro 49 in the middle of the screen (at least on 1280*800 screen display)

- One of the problem, is that Replace window is located on line 48, which hide bit of code above. This do not give a good overview of what you are doing. (This has been discussed and suggested.)
It's like a big cap over your head, just see your toes.

- Problem of this topic is if you select "Yes all", Editor window will move and select first line of code. :shock:

Would be nice to stay at same line. (line 49 in this example.)
Not very cool when you use "Yes to All " from line 1267. :x

Have look and try to do same thing with Notepad2.
Alain

User avatar
slavisa.zlatanovic
mikroElektronika team
Posts: 1321
Joined: 07 Apr 2009 09:39

Re: v1.50 : replace text : Yest to alll

#8 Post by slavisa.zlatanovic » 25 May 2010 09:41

Hi!
Would be nice to stay at same line. (line 49 in this example.)
You should use the Search from caret option.

Regards
Slavisa
Attachments
replace_text.JPG
replace_text.JPG (18.54 KiB) Viewed 3350 times
Best regards
Slavisa

Post Reply

Return to “mikroBasic PRO for PIC Wish List”