flat assembler
Message board for the users of flat assembler.
Index
> IDE Development > [Feature Req.] Allow Fasmw to Remember Last Opened Files |
Author |
|
ouadji 05 Jun 2011, 10:10
the last file opened or the last file loaded ? |
|||
05 Jun 2011, 10:10 |
|
klavs.pr 05 Jun 2011, 10:52
chris, do you mean it just like notepad++ opens previously used files when launching?
|
|||
05 Jun 2011, 10:52 |
|
chris 06 Jun 2011, 15:22
ouadji wrote:
klavs.pr wrote:
Yeah, I mean the last files loaded into the Fasmw IDE, just like the functionality of notepad++. Thanks. |
|||
06 Jun 2011, 15:22 |
|
ouadji 06 Jun 2011, 23:38
I think it would be better the last file opened ... loaded + selected (the last file with the focus) I will add this feature to wink. before closing wink, just put the focus on the chosen file! This allows you to choose any file. Use the last file loaded doesn't allow to choose. What do you think about it ? |
|||
06 Jun 2011, 23:38 |
|
chris 07 Jun 2011, 15:42
ouadji wrote:
the thing is that, when you work on a project using Fasmw, you usually have several files loaded into the IDE at the same time(of course only one of them has the focus). When you close the IDE, it won't remember the files and next time if you want to resume the last project, you have to locate these files in the open-file-dialog-box and pick them up again and sometimes these files may not reside in a single directory... so the feature I requested is that when exiting Fasmw IDE, it should remember the files currently loaded, and next time you launch the IDE it should reload these files automatically. Perhaps it's not a bad idea to make Fasmw keep a history of recently opened files like many other IDEs, and of course, to me, this is another desirable feature. Thanks ouadji for your patience and reply and of course your wink! |
|||
07 Jun 2011, 15:42 |
|
ouadji 07 Jun 2011, 18:24
ok, understood ! all last files, like notepad++ I am currently developing this functionality for Wink. The next Wink will also allow the use of a command line (for "run") |
|||
07 Jun 2011, 18:24 |
|
asmhack 08 Jun 2011, 14:17
Code: 82: _key_recent db 'Recent',0 ;ini key ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1141: cmp eax,IDM_RECENT ;menu code je recent ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1230: invoke WritePrivateProfileString,_section_environment,_key_recent,path_buffer,ini_path ;store open_recent: ;continue ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1345: recent: invoke GetPrivateProfileString,_section_environment,_key_recent,path_buffer,path_buffer,1000h,ini_path ;get jmp open_recent ;jump to continue ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3239: IDM_RECENT = 1111 ;menu handle ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3317: menuitem '&Recent...' _ 'Ctrl+R',IDM_RECENT ;menu data (here we can use classic popup flag and so on..) menuseparator ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3375: FVIRTKEY+FNOINVERT+FCONTROL,'R',IDM_RECENT,\ ;hotkey The above code is a lazy fix that will add support to fasmw ide, to open last opened file, using either the menu or ctrl+r. The settings are stored inside the original fasmw.ini file, that means we have all the variables ready to work with.
Last edited by asmhack on 08 Jun 2011, 18:00; edited 1 time in total |
|||||||||||
08 Jun 2011, 14:17 |
|
ouadji 08 Jun 2011, 15:59
Wink 6.87 is available with option : save and restore current files this, "on" or "off" (control panel) (also, a command line editor --> run) |
|||
08 Jun 2011, 15:59 |
|
chris 09 Jun 2011, 15:12
asmhack wrote:
thanks for the code, but it seems to restore the last opened file when Fasmw is running, while I hoped that it can restore the last loaded files the next time Fasmw is launched, but thanks anyway! |
|||
09 Jun 2011, 15:12 |
|
chris 09 Jun 2011, 15:14
ouadji wrote:
Thanks ouadji, I am using it now. admire your passion and speed! |
|||
09 Jun 2011, 15:14 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.