flat assembler
Message board for the users of flat assembler.

Index > IDE Development > Latest find replace dialogs for Fresh

Author
Thread Post new topic Reply to topic
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard 17 Jan 2004, 16:44
I've updated find/replace routines.
Finally, I've added an option to search whole project. Also, I changed a bit the dialogs, and added and option to search "whole current file" (maybe someone could think of some better name for it Confused) - it searches currently open file for all occurrences of given string (the same as if you open only this file and find with "all open files" option). And now you're able to replace strings in many source files.

regards,
Decard

attachement removed - new version is posted below


Last edited by decard on 18 Jan 2004, 13:54; edited 1 time in total
Post 17 Jan 2004, 16:44
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 17 Jan 2004, 17:23
Hi decard.
Great work. I needed this function. Smile
Only one little thing: The edit window flickers too much when you load multiply files. Maybe you need to use "LockWindowUpdate" function for the tab control or even for whole source editor window when you search trough multiply files.

[offtopic] Do you plan to continue the "Fresh programmers guide"? There will be need of it very soon.[/offtopic]

Regards
Post 17 Jan 2004, 17:23
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard 17 Jan 2004, 17:36
JohnFound wrote:
The edit window flickers too much (...)

OK, I'll think of it.

JohnFound wrote:
Do you plan to continue the "Fresh programmers guide"?

Of course Smile But could you, as the project maintainer, write what should I cover in the guide, and in which order?
Post 17 Jan 2004, 17:36
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 17 Jan 2004, 17:55
decard wrote:
Of course Smile But could you, as the project maintainer, write what should I cover in the guide, and in which order?


Well, you write the first part wery good without my suggestions and it is great, just keep this way. Smile

...anyway, I can't refrain from some suggestions Very Happy
1. We need full guide on standard macro library, not only Fresh specific, but also these from FASM. Also such a guide can be useful for clearing the macro library and making it more structural.
2. Also guides on Fresh standard libraries:
* StrLib.asm
* gui.asm
* mainloop.asm
* msgutils.asm
* winalign.asm - I think it is clear enough for documenting now.

Well, it is big job, but don't think it should be finished in a few days. We simbly have to begin to make it. Simply choose some of these points. IMHO the order is not important.

Regards.
Post 17 Jan 2004, 17:55
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard 17 Jan 2004, 22:22
I tried to add following line in the source:
Code:
invoke LockWindowUpdate,[hSourceEditor]    

but it didn't change anything - I still got this flickery Confused Why? Maybe I'm just too tired... I will try again tomorrow.
Post 17 Jan 2004, 22:22
View user's profile Send private message Visit poster's website Reply with quote
aaro



Joined: 21 Jun 2003
Posts: 107
Location: hel.fi
aaro 18 Jan 2004, 12:12
Are you displaying results in listbox? If yes, mayby WM_SETREDRAW could help with the flickering?
Code:
invoke SendMessage, [hListBox], WM_SETREDRAW, FALSE, 0
;add items to listbox
invoke SendMessage, [hListBox], WM_SETREDRAW, TRUE, 0
invoke InvalidateRect, [hListBox], NULL, TRUE
    
Post 18 Jan 2004, 12:12
View user's profile Send private message Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard 18 Jan 2004, 13:52
Well actually I needed to disable whole source editor window, but this soultion works well for it too. Thanks, aaro! Wink


Last edited by decard on 21 Jan 2004, 11:10; edited 1 time in total
Post 18 Jan 2004, 13:52
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 18 Jan 2004, 14:10
Good work decard. I implemented it. Thanks.
Post 18 Jan 2004, 14:10
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard 21 Jan 2004, 16:14
oopss Embarassed it didn't want to compile... Here's a valid file:

outdated attachment removed - now it can be found in Fresh package Smile
Post 21 Jan 2004, 16:14
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.