Old 4th July 2017, 20:51   #1
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,558
Lightbulb NsiEd

I have been playing with the idea of replacing MakeNsisW with a "real" editor.

Requires Win2000 or later. The name is not set in stone, I'm open for suggestions.

Known issues:
  • WONTFIX: "Best compression" mode
  • WONTFIX: "Choose compressor" command line / file type mode
  • WONTFIX: Syntax highlighting (Might support Scintilla later)
  • WONTFIX: MDI windows
  • Some commands don't work yet
  • Only partial High DPI support

Extract to your NSIS directory and play around a bit and let me know what you guys think...
Attached Files
File Type: zip NsiEd.zip (50.6 KB, 39 views)

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 4th July 2017, 22:07   #2
Pawel
Moderator
 
Pawel's Avatar
 
Join Date: Aug 2004
Location: Poland
Posts: 496
Send a message via ICQ to Pawel
Works fine :P

Would be great if you make it like Notepad++ and NSIS compiler in one app (with multi tabs, syntax highlighting, lang support, etc...)

Is this based on makensisw source or you are writing it from scratch?
Pawel is offline   Reply With Quote
Old 4th July 2017, 22:52   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,558
It already supports multiple tabs? (Drag & drop, multiple files in open dialog (on Vista+) and NsiEd.exe "yourfile.nsi" should work)

I'm writing it from scratch!

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 5th July 2017, 01:53   #4
jiake
Senior Member
 
jiake's Avatar
 
Join Date: Oct 2007
Location: Xi'an, China
Posts: 206
Very good!!!
Look forward to a fully functional version.

Born in: Xi'an, China
Live in: Shanghai, China
Name: 賈可(zh-Hant, trad.), 贾可(zh-Hans, simp.), Jia Ke (Pinyin).
Email: jiake@vip.qq.com
QQ: 137729898
jiake is offline   Reply With Quote
Old 5th July 2017, 07:42   #5
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
Join Date: May 2005
Location: New Zealand
Posts: 847
Cool, I take it that it's windows only? I attempted a basic cross-platform code editor a few years ago, I didn't get very far though.

"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile
JasonFriday13 is offline   Reply With Quote
Old 5th July 2017, 07:44   #6
Pawel
Moderator
 
Pawel's Avatar
 
Join Date: Aug 2004
Location: Poland
Posts: 496
Send a message via ICQ to Pawel
Quote:
Originally Posted by Anders View Post
It already supports multiple tabs? (Drag & drop, multiple files in open dialog (on Vista+) and NsiEd.exe "yourfile.nsi" should work)
Yes. It works fine! (Win10 Pro CA)
And that is very nice that you are working on such project.
-Pawel
Pawel is offline   Reply With Quote
Old 5th July 2017, 10:34   #7
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,558
Quote:
Originally Posted by JasonFriday13 View Post
Cool, I take it that it's windows only? I attempted a basic cross-platform code editor a few years ago, I didn't get very far though.
Yes, Windows only. It is never going to be the best editor ever but it should allow us to demo more integration with the default programs feature in the installer.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 5th July 2017, 16:32   #8
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
Join Date: May 2005
Location: New Zealand
Posts: 847
I was considering using parts of the nsis tokens as a source of supported highlights, then having a custom highlighting layer between the text data storage and the renderer. The thinking behind it is that if commands are added, edited, or removed, these will also show up in the editor. Also, possibly sharing parts of the parsing code between the two. Well, that's what I had planned for my version anyway.

"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile
JasonFriday13 is offline   Reply With Quote
Old 11th July 2017, 00:12   #9
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,558
Lightbulb

New build, v0.1.1707.1000

Quote:
+ Double-click log errors and warnings to jump to file:line
+ Replace text (Ctrl+H)
+ Cut line (Ctrl+L)
+ Copy as path
+ Open containing folder
+ Open file properties
* Changed DPI font handling
If someone wants to design 24x24 and/or 32x32 toolbar images that would be helpful...
Attached Files
File Type: zip NsiEd.zip (52.4 KB, 28 views)

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 14th July 2017, 20:12   #10
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,558
0.1.1707.1400

PHP Code:
Tab/spaces settings dialog
MakeNsisW compatible global symbols editor dialog
Shift+Tab moves cursor back by one tab in editor 
Attached Files
File Type: zip NsiEd.zip (50.0 KB, 17 views)

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 17th July 2017, 22:21   #11
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,558
0.1.1707.1900

PHP Code:
Press Ctrl+Shift+Spacebar to display syntax help for instruction on current line 
(Re-uploaded with a small update to the keyword detection)
Attached Files
File Type: zip NsiEd.zip (57.1 KB, 19 views)

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Tags
nsied

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump