flat assembler
Message board for the users of flat assembler.

Index > Windows > Proposition for Tomasz. Select and open file in fasm.

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 1766
Roman 21 Feb 2019, 06:04
My idea.
Example have many includes files from differents dirs.
And its not handfull allway search files in folders.

In some projects includes files more then 90 !
My proposition select file name(like as search text in fasm do):
Code:
 include 'c:\fasm\include\equates\user32.inc'
 include 'c:\fasm\include\equates\winmm.inc'
 include 'macro\macro1.asm'
 include 'macro\macro.txt'
    

Lets say select text in fasm editor c:\fasm\include\equates\user32.inc and press F11(for example)
And Fasm open file c:\fasm\include\equates\user32.inc.
And this file name apply to ColectionFilesCombobox.
We might later open ColectionFilesCombobox and choose any files and open them.

Or fasm auto search all includes files and store in ColectionFilesCombobox.
Then we just open ColectionFilesCombobox choose file and press open button.
Or write in ColectionFilesCombobox name of file and press open button.

Its save lot of time.
Post 21 Feb 2019, 06:04
View user's profile Send private message Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1766
Roman 21 Feb 2019, 09:34


Description:
Filesize: 255.64 KB
Viewed: 8427 Time(s)

editr.jpg




Last edited by Roman on 21 Feb 2019, 09:43; edited 1 time in total
Post 21 Feb 2019, 09:34
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20299
Location: In your JS exploiting you and your system
revolution 21 Feb 2019, 09:41
You are suggesting this for fasmw, right?

You would like fasmw to scan file for file names and allow you to click, or double-click, or right-click, or something and fasmw will open it in a new tab?
Post 21 Feb 2019, 09:41
View user's profile Send private message Visit poster's website Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1766
Roman 21 Feb 2019, 09:52
Its for Fasm 32 or 64 bit.


I just select text and press button Open.
I not needed do copy\paste text. This do my program.
And file open in second EditBox.

Not now i not use double click.

Small right-up EditBox i use for small pices code.
This small part I often write.
And I simple copy small pices code and paste in main EditBox(big down below)

I dont worry if i write some in second EditBox. I save text only from EditBox(big down below)

In file ThemColor.txt in store 8 colors for colorize style.
Change ThemColor.txt and get new colors and opacity.
Post 21 Feb 2019, 09:52
View user's profile Send private message Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1766
Roman 21 Feb 2019, 10:13
I like programing when I in bed Smile
And use only mouse and mouse buttons for programing code.

In right hand mouse and in left beautiful girl.

Editor for lazy Smile
Post 21 Feb 2019, 10:13
View user's profile Send private message Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1766
Roman 21 Feb 2019, 10:38
revolution
Quote:
You would like fasmw to scan file for file names and allow you to click, or double-click, or right-click, or something and fasmw will open it in a new tab?


If you mean Fasm. I told about all new Fasm-editor versions.

We simple select text (its file name) and press key F11(for example) or right mouse open menu and we see new function "open selected file".
Yes. Open in new tab.

And right mouse menu new function "Show files collections"
We might choose any file and then open.

Its mast be standart for all Fasm-editors.
Very handfull.


Last edited by Roman on 21 Feb 2019, 10:46; edited 4 times in total
Post 21 Feb 2019, 10:38
View user's profile Send private message Reply with quote
DimonSoft



Joined: 03 Mar 2010
Posts: 1228
Location: Belarus
DimonSoft 21 Feb 2019, 10:40
Using only left and right mouse button you don’t need FASM at all. Just write machine code directly Smile
Post 21 Feb 2019, 10:40
View user's profile Send private message Visit poster's website Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4020
Location: vpcmpistri
bitRAKE 21 Feb 2019, 15:01
Interesting. i like the direction you are thinking - changing the development experience. There is certainly room for innovation in this area.
Post 21 Feb 2019, 15:01
View user's profile Send private message Visit poster's website Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1766
Roman 21 Feb 2019, 16:13
My next idea. Sort data marker ;#SD(mean section data).
;#SB(mean section BBS whear rd or rb )
Code:
section '.data' data readable writeable

section '.code' code readable executable
Start:
 ;#SD
 ProcApply:
    mov eax,[Val2]
    add eax,22
    mov [Val2],eax
    ret

 Val2 dd 22
 String1 db 'Text',0
 ;###

 Call  ProcApply
 invoke MessageBox,0,String1 ,String1 ,0

 ;#SD
 String2 db 'Text2',0
 ;###

 invoke MessageBox,0,String2 ,String2 ,0
    


All text from begin ;#SD to ;### replace in section '.data' data readable writeable
When we press button "Sort" or when Fasm editor compile code auto find this and sort. And keep text file how we see in code.

Very usefull when we want keep data close to code.
Hard sometimes read code and variables when you must jump to section data.
Look some value and jump back in code.
Its not problem when values 2 or 3.
But if values more then 80. It is tiring and can lead to errors.
Post 21 Feb 2019, 16:13
View user's profile Send private message Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1766
Roman 26 Feb 2019, 02:53
New in my Fasm Studio.
I grab c++ structs or Enum or Interfaces !
https://www.youtube.com/watch?v=kvSHCZNvO3w&feature=youtu.be

PS: Can open c++ header text file.
And can transform many c++ structs to Fasm structs or only selected struct or selected region.
One click and we get many Fasm structs or Interfaces or Enums.
Post 26 Feb 2019, 02:53
View user's profile Send private message 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.