this is because I used their declaration for Lex and Fold functions which use types from Sci_Position.h, I didn't modified definitions for these function.jsmorley wrote: ↑November 18th, 2019, 3:25 pm That seems to help... I still get a "warning",
But it does "build". Let me test it with 32bit and 64bit Notepad++ and see what happens.Code: Select all
C:\RainLexer\RainLexer\Lexer.cpp(93,23): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible lo ss of data [C:\RainLexer\RainLexer\RainLexer.vcxproj] C:\RainLexer\RainLexer\Lexer.cpp(427,62): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', p ossible loss of data [C:\RainLexer\RainLexer\RainLexer.vcxproj]
It is currently September 16th, 2024, 8:36 pm
RainLexer 2.20.0 (syntax highlighter for Notepad++)
-
- Posts: 154
- Joined: May 14th, 2018, 4:46 pm
Re: RainLexer 2.4.0 (syntax highlighter for Notepad++)
-
- Developer
- Posts: 22745
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: RainLexer 2.4.0 (syntax highlighter for Notepad++)
Seems like it works in both 32bit and 64bit versions of Notepad++. This is a huge help!!
Any way you can see to safely eliminate those "warnings"?
-
- Posts: 154
- Joined: May 14th, 2018, 4:46 pm
Re: RainLexer 2.4.0 (syntax highlighter for Notepad++)
Try this
File removed
Last edited by oZone on November 18th, 2019, 3:46 pm, edited 1 time in total.
-
- Developer
- Posts: 22745
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: RainLexer 2.4.0 (syntax highlighter for Notepad++)
Closer...
Code: Select all
* Building 32-bit RainLexer.
C:\RainLexer\RainLexer\Lexer.cpp(93,28): warning C4018: '<': signed/unsigned mismatch [C:\RainLexer\RainLexer\RainLexe
r.vcxproj]
* Building 64-bit RainLexer.
C:\RainLexer\RainLexer\Lexer.cpp(93,28): warning C4018: '<': signed/unsigned mismatch [C:\RainLexer\RainLexer\RainLexe
r.vcxproj]
* Signing binaries...
* Building installer.
* Signing installer.
* Build complete.
Press any key to continue . . .
-
- Posts: 154
- Joined: May 14th, 2018, 4:46 pm
Re: RainLexer 2.4.0 (syntax highlighter for Notepad++)
Hopefully no more warningsjsmorley wrote: ↑November 18th, 2019, 3:41 pm Closer...
Code: Select all
* Building 32-bit RainLexer. C:\RainLexer\RainLexer\Lexer.cpp(93,28): warning C4018: '<': signed/unsigned mismatch [C:\RainLexer\RainLexer\RainLexe r.vcxproj] * Building 64-bit RainLexer. C:\RainLexer\RainLexer\Lexer.cpp(93,28): warning C4018: '<': signed/unsigned mismatch [C:\RainLexer\RainLexer\RainLexe r.vcxproj] * Signing binaries... * Building installer. * Signing installer. * Build complete. Press any key to continue . . .
File removed
Last edited by oZone on November 23rd, 2019, 6:41 pm, edited 2 times in total.
-
- Developer
- Posts: 22745
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: RainLexer 2.4.0 (syntax highlighter for Notepad++)
Bingo!
I can't thank you enough. This is a huge help! I'll get a new version out shortly.
I can't thank you enough. This is a huge help! I'll get a new version out shortly.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 154
- Joined: May 14th, 2018, 4:46 pm
Re: RainLexer 2.4.0 (syntax highlighter for Notepad++)
You're welcome.
I did this for practice.
-
- Developer
- Posts: 22745
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: RainLexer 2.5.0 (syntax highlighter for Notepad++)
I'm really glad to have this ugliness behind us.. Thanks again!
https://forum.rainmeter.net/viewtopic.php?f=127&t=6336&p=40071#p40071
-
- Posts: 154
- Joined: May 14th, 2018, 4:46 pm
Re: RainLexer 2.5.0 (syntax highlighter for Notepad++)
I wanted to highlight numbers, so I tried to implement it. It's not perfect but it works.
I did this mainly for myself, I wanted to completely rewrite lex function, but because of IRL stuff I don't have time.
I hope someone may find this useful.
Other changes are:
1) Updated 3rd-party files to latest available
2) Rafactor code to use
files removed
Zip file contains pre-built DLL files, modified RainLexer.xml and of course source code.
I did this mainly for myself, I wanted to completely rewrite lex function, but because of IRL stuff I don't have time.
I hope someone may find this useful.
Other changes are:
1) Updated 3rd-party files to latest available
2) Rafactor code to use
files removed
Zip file contains pre-built DLL files, modified RainLexer.xml and of course source code.
Last edited by oZone on November 27th, 2019, 7:09 pm, edited 1 time in total.
-
- Developer
- Posts: 22745
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: RainLexer 2.5.0 (syntax highlighter for Notepad++)
oZone wrote: ↑November 23rd, 2019, 7:49 pm I wanted to highlight numbers, so I tried to implement it. It's not perfect but it works.
I did this mainly for myself, I wanted to completely rewrite lex function, but because of IRL stuff I don't have time.
I hope someone may find this useful.
Other changes are:
1) Updated 3rd-party files to latest available
2) Rafactor code to use plugin template
Zip file contains pre-built DLL files, modified RainLexer.xml and of course source code.
Yeah, I think the number highlighting might need some more work at some point. I wonder if you could do the 1) and 2) stuff separately so I can get them in?