flat assembler
Message board for the users of flat assembler.

Index > IDE Development > fasmw editor replace (bug?) with step by step procedure

Author
Thread Post new topic Reply to topic
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 885
Location: \\world\asia\malaysia
vbVeryBeginner
problem with FASMW editor replace function

Code:
test1
test2
test3
test4
test5
test6
test7
test8
test9
test0
    


try the following replace procedure using the example data above.
1. put the caret at the word "t" for test1
2. from menu, click search and replace
3. text to find = test and text to replace = fasm
4. click the [replace] button

and the result is below
Code:
fasm1
fasm2
fasm3
fasm4
fasm5
fasm6
fasm7
fasm8
fasm9
fasm0 
    


now, put the caret at the word "a" for fasm1
and replace the it with other text eg. "bug" <- dont' mad me :p
and u see the result as below

Code:
fasm1
bug2
bug3
bug4
bug5
bug6
bug7
bug8
bug9
bug0 
    


the fasm1 won't be replace althogh we specify already we wanna replace all "fasm" word

i am testing with the 1.56 version

sincerely,
sulaiman chang
Post 15 Dec 2004, 09:52
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
No, it is not a bug. FASMW editor searches from the cursor. If the cursor is at "a" of the first "fasm", then the first match will be at the second "fasm".

Regards
Post 15 Dec 2004, 09:58
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 885
Location: \\world\asia\malaysia
vbVeryBeginner
ok,
i should call it a nice feature :p
Post 15 Dec 2004, 19:43
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2019, Tomasz Grysztar.

Powered by rwasa.