You are here: PSPad forum > English discussion forum > how can I modify list of keywords for C/C++ language ??
Posted by: Gorlash | Date: 2014-09-29 19:36 | IP: IP Logged
I have some common typedef'd keywords that I use regularly in my code (such as "uint" for unsigned int), and would like to include them in the keywords list, but I don't know where this is stored?? Can someone point me in the right direction?
Posted by: pspad | Date: 2014-09-29 20:00 | IP: IP Logged
C++ highlighter is internal. It means there is no external definition.
There are two ways:
1. you will send me missing keywords, if they are any for standard C++
2. you will define C++ as user highlighter and you will use it instead of buil-in
Posted by: Gorlash | Date: 2014-09-29 20:08 | IP: IP Logged
Ahhh... okay, thanks.
Posted by: zohaa | Date: 2014-10-30 06:24 | IP: IP Logged
This is a function that I've had in my past editor (MultiEdit), and tend to use alot.
I was thinking that it would be easy to implement with Control-X; if user hits control-X, but no text is highlighted, then just delete the entire line including newline. The current cursor position should be ignored.
Please consider this, if you have time to look into it.
--
zoha
Posted by: pspad | Date: 2014-10-30 08:35 | IP: IP Logged
zohaa:This is a function that I've had in my past editor (MultiEdit), and tend to use alot.I was thinking that it would be easy to implement with Control-X; if user hits control-X, but no text is highlighted, then just delete the entire line including newline. The current cursor position should be ignored.
Please consider this, if you have time to look into it.
Why do you reply to C++ language topic with totally different request?
Press Ctrl+Y - it's standard for delete line. If you need Ctrl+X, go to program settings / KeyMap and redeclare editor action DeleteLine
Posted by: Gorlash | Date: 2014-10-31 18:18 | IP: IP Logged
What's *really* weird about Zohaa's comment, is that it is a literal copy of a message that I posted back on 9/29, with subject "feature request: single-key line delete"...
So, who is Zohaa, and why did he copy my post to another thread???
The world is very mysterious!!
Posted by: pspad | Date: 2014-10-31 18:49 | IP: IP Logged
I deactivated his accoung. I guess, it can be prepare for forum spam by some robot.
He can anytime contact me and let his account activate back.
Posted by: Slowly | Date: 2016-12-05 20:23 | IP: IP Logged
pspad:C++ highlighter is internal. It means there is no external definition.
...In a future version of PSPad, could you remove ALL internal definitions and make everything customizable? I don't need TCL, Fortran, and other internal definitions.
thanx
Slowly
Posted by: pspad | Date: 2016-12-05 21:16 | IP: IP Logged
Yes, in the future all highlighters will be based on customizable definition.
Now you can define your own external syntax fo C++ and use it instead of the internal one.
Posted by: Slowly | Date: 2016-12-14 17:12 | IP: IP Logged
Thank you thank you
...I have a Christmas wish That PSPad might someday have support for:
- Intellisense
- SFTP
...I would pay for these features!
Thanks again
--
Software Engineer
Contractor
Salt River Project
Edited 1 time(s). Last edit at 2016-12-14 17:13 by Slowly.
Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR