Can you add toolbar buttons for non-menu items?
Can you disable the syntax highlighting for a specific file or filetype?
I'm editing a text file that's not pb, then processing it with a pb program. It would be easiest to use the pb editor. After editing it, I want to hit a button that saves the current text file, then runs the other different pb program. (And also preferably reloads another file.)
Do I need a plugin for this, or can I do it with a shortcut script? If I need a plugin, can someone recommend a simple one that will be close?
BTW, is there a plugin forum? If not, there should be!
Thanks!
Can you add Toolbar buttons? Turn off highlighting?
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Can you add Toolbar buttons? Turn off highlighting?
Depends on the nitty gritty details but I would say that the IDE isn't really strong as a text editor - try NotePad++ or UltraEdit, both can run your PB App (exe) to process the text file.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Can you add Toolbar buttons? Turn off highlighting?
The IDE is unsuitable as a general-purpose editor.
When adding a toolbar button you can select between "menu item" or "run tool". Depending on what you select you get a list of menu items or custom tools to select from. (The custom tools are added in the - guess what - tools menu.
When adding a toolbar button you can select between "menu item" or "run tool". Depending on what you select you get a list of menu items or custom tools to select from. (The custom tools are added in the - guess what - tools menu.
Re: Can you add Toolbar buttons? Turn off highlighting?
I was afraid of this. I use Notepad++ for almost everything, and I do like it a lot, but it would be more convenient to use one interface. That's why I've been using the IDE...it's nice to be able to click the Run button and step through the code without switching windows.Trond wrote:The IDE is unsuitable as a general-purpose editor.
Re: Can you add Toolbar buttons? Turn off highlighting?
I agree with Trond and Tenaja.
In attempting to enhance the utility of the IDE using self-generated tools, it would be beneficial if there were a "how-to" for some basic functions.
While in the external tool...
1. Using ProgramParameter() grab:
a. windows handles of the Scintilla editor and IDE main window.
b. list of opened files.
c. and more...
2. How to navigate the IDE panes or loaded tabs?
Do I sendmessage() to the Scintilla object or some MDI window?
3. How do I get the list of available tabs?
As freak has said before, don't wait for built-in features...code them yourself in a tool.
I agree here too, just throw us a bone or 2 of instructions.
In attempting to enhance the utility of the IDE using self-generated tools, it would be beneficial if there were a "how-to" for some basic functions.
While in the external tool...
1. Using ProgramParameter() grab:
a. windows handles of the Scintilla editor and IDE main window.
b. list of opened files.
c. and more...
2. How to navigate the IDE panes or loaded tabs?
Do I sendmessage() to the Scintilla object or some MDI window?
3. How do I get the list of available tabs?
As freak has said before, don't wait for built-in features...code them yourself in a tool.
I agree here too, just throw us a bone or 2 of instructions.
Last edited by skywalk on Mon Jul 07, 2014 11:34 pm, edited 1 time in total.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Can you add Toolbar buttons? Turn off highlighting?
...yes, the point about an Ide plugin forum is a good one. There could be a sticky giving a basic how-to guide, with a working example.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Can you add Toolbar buttons? Turn off highlighting?
Well, isn't that exactly what this specific forum is about? The PureBasic Editor? I don't think a new section is really needed, with all those posts and so on...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )