flat assembler
Message board for the users of flat assembler.

Index > Heap > FASM lexer for SynWrite

Author
Thread Post new topic Reply to topic
Alextp



Joined: 07 Jan 2015
Posts: 5
Alextp
hi. Anybody wants to "test" syntax for Fasm for Synwrite?
ie, find in asm files bad hilited things (some cmd word not hilited, some virtual-endvirtual block not folded, some int constant not blue........)


how to
- install or get RAR version of Synwrite http://uvviewsoft.com/synwrite/download.html
- run
- call Options- Addons Manager- Install
- enter word "fasm" in dialog- select item "Lexer: Assembly FASM" in dialog
- confirm to install
- open ASM file
- change lexer using click in statusbar from "Assembly" to "Assembly FASM"
Post 07 Jan 2015, 21:54
View user's profile Send private message Reply with quote
Alextp



Joined: 07 Jan 2015
Posts: 5
Alextp
screen with Tree list


Description: Screen
Filesize: 25.5 KB
Viewed: 6380 Time(s)

QIP Shot - Screen 068.png


Post 07 Jan 2015, 22:35
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17249
Location: In your JS exploiting you and your system
revolution
I can't use any editor without line numbers shown on the left.

Does Synwrite allow the user to set the key mappings?
Post 08 Jan 2015, 04:47
View user's profile Send private message Visit poster's website Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
revolution wrote:
I can't use any editor without line numbers shown on the left

Hypocrite!!! I just caught you slippin' dawg.

FASM IDE doesn't show line numbers on the left. Smile Smile Smile
Post 08 Jan 2015, 06:25
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17249
Location: In your JS exploiting you and your system
revolution
typedef wrote:
revolution wrote:
I can't use any editor without line numbers shown on the left

Hypocrite!!! I just caught you slippin' dawg.

FASM IDE doesn't show line numbers on the left. Smile Smile Smile
I don't use the fasm IDE. Partly for this reason, and a few others.

I already stated something similar:
http://board.flatassembler.net/topic.php?p=121732#121732
Post 08 Jan 2015, 07:47
View user's profile Send private message Visit poster's website Reply with quote
Alextp



Joined: 07 Jan 2015
Posts: 5
Alextp
Quote:
without line numbers shown on the left.
to set the key mappings?


Line numbers: menu "View - Toggle line numbers".
Keymappings: set any keys via Options dialog (Keys tab)
Post 08 Jan 2015, 09:02
View user's profile Send private message Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1408
Location: Toronto, Canada
AsmGuru62
It always puzzled me how coders explain it.
Or rather not explain it - just "can't use it" - fascinating...

Maybe, when coder sees how many lines he's done - it gives him some pride?..
Not sure.
Post 08 Jan 2015, 16:29
View user's profile Send private message Send e-mail Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17249
Location: In your JS exploiting you and your system
revolution
AsmGuru62 wrote:
It always puzzled me how coders explain it.
Or rather not explain it - just "can't use it" - fascinating...

Maybe, when coder sees how many lines he's done - it gives him some pride?..
Not sure.
Nothing of the sort. The command line fasm shows errors with the line numbers so I need the line numbers. Simple really. How much more explanation do I need to give? It is only for my personal usage anyway so it is not as though I am making a bug report or anything.
Post 08 Jan 2015, 16:35
View user's profile Send private message Visit poster's website Reply with quote
Alextp



Joined: 07 Jan 2015
Posts: 5
Alextp
To show numbers in Synwrite, call menuitem:"View - Toggle line numbers" (off by deflt). Also u can call FASM via "External tools" and goto source error automatically by dblclick. (Help topic of Synwrite)
Post 08 Jan 2015, 16:53
View user's profile Send private message Reply with quote
l_inc



Joined: 23 Oct 2009
Posts: 881
l_inc
revolution
What editor do you use btw.?

_________________
Faith is a superposition of knowledge and fallacy
Post 08 Jan 2015, 17:13
View user's profile Send private message Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
l_inc wrote:
revolution
What editor do you use btw.?


He/She is just being arrogant Very Happy

It's like saying "I have never used Internet Explorer"
Post 08 Jan 2015, 21:08
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17249
Location: In your JS exploiting you and your system
revolution
l_inc wrote:
revolution
What editor do you use btw.?
Notepad2
Post 09 Jan 2015, 00:32
View user's profile Send private message Visit poster's website Reply with quote
l_inc



Joined: 23 Oct 2009
Posts: 881
l_inc
revolution
Oh, thanks for the answer. Notepad2 is probably unable to automatically show the faulty line of code based on the fasm output.

_________________
Faith is a superposition of knowledge and fallacy
Post 09 Jan 2015, 02:47
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17249
Location: In your JS exploiting you and your system
revolution
l_inc wrote:
Notepad2 is probably unable to automatically show the faulty line of code based on the fasm output.
AFAICT only an IDE would have that ability.
Post 09 Jan 2015, 02:49
View user's profile Send private message Visit poster's website Reply with quote
l_inc



Joined: 23 Oct 2009
Posts: 881
l_inc
revolution
I don't differentiate an editor and an IDE. I let my editor (Notepad++) execute fasm.exe and analyze the output, so that I can double click an error line from the output and see the corresponding file and line immediately.

_________________
Faith is a superposition of knowledge and fallacy
Post 09 Jan 2015, 03:25
View user's profile Send private message Reply with quote
Alextp



Joined: 07 Jan 2015
Posts: 5
Alextp
l_inc
Synw can also do it.
Post 09 Jan 2015, 08:03
View user's profile Send private message Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
Alextp wrote:
l_inc
Synw can also do it.


So can my beer! Here, hold me.
Post 09 Jan 2015, 20:43
View user's profile Send private message Reply with quote
tthsqe



Joined: 20 May 2009
Posts: 724
tthsqe
guys, last time i checkes fasmw was not very bloated.
why don't we just add line numbers into fasmw?
it is not really a problem because the error handler jumps to the problem line anyways
Post 09 Jan 2015, 23:39
View user's profile Send private message Reply with quote
system error



Joined: 01 Sep 2013
Posts: 671
system error
If anyone interested in alternative editor, use geany. It has line numbering, code completion, key mapping and the stuff. Powerful build editor, doc protection and some more no-BS features etc etc. Works both on linux and windows. Way better than notepad++.

You can edit multiple source (assembly, c, java, c++ so on) using the same window at the same time and geany is smart enough to tell the different Build configuration required by each.
Post 10 Jan 2015, 00:16
View user's profile Send private message Reply with quote
sid123



Joined: 30 Jul 2013
Posts: 340
Location: Asia, Singapore
sid123
vim ftw, please.


/me hides
Post 10 Jan 2015, 02:44
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 can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.