yab | yet another Basic for HAIKU

Full Version: Request: Option to add menupoint into TEXTEDIT Right-Click Menu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It will be fine to have the solution to add more menuparts into the textedit menu (right click menu).

At the moment there are points like "cut, copy, paste, undo..."
This is all an un-controllable part of BTextView, the object that TextEdit uses. I have not found a way to over-ride the defaults, nor do I see a point in doing so. What would this solve?
Well, you could surround your selection with formatting codes, or you could open up a browser window with a definition of that word loaded - all the things we take for granted in other operating systems. Yes, you can do all that from the menu or toolbar. Having it available from a rightclick would be an extra convenience.

But if this means changes deep within the API, it probably means waiting until Haiku R2, and we might all be dead and buried before that ever happens
OK, I found the proceedure to over-ride ... BTextView::_ShowContextMenu(BPoint where) now all I need to do is figure out how to do it. c++ isn't my primary language, Basic is.
(07-15-2015, 01:14 PM)bbjimmy Wrote: [ -> ]OK, I found the proceedure to over-ride ... BTextView::_ShowContextMenu(BPoint where) now all I need to do is figure out how to do it. c++ isn't my primary language, Basic is.

an other idea is to make a textedit option to deactivate rightmouse menu. option set contextmenu true/false so one can make with mouse massage a own menu (popupmenu in yab allready)
When I invent MORE TIME ™, I will take a closer look at this. Right now time is at a premium.
(08-31-2015, 01:19 PM)bbjimmy Wrote: [ -> ]When I invent MORE TIME ™, I will take a closer look at this. Right now time is at a premium.

this will be fine
(09-02-2015, 08:55 AM)lelldorin Wrote: [ -> ]
(08-31-2015, 01:19 PM)bbjimmy Wrote: [ -> ]When I invent MORE TIME ™, I will take a closer look at this. Right now time is at a premium.

this will be fine

If I have to re-package yab for a libyab package, don't expect any new yab stuff untill sometime in 2016 as my time is limited and this work will take all I have.
Free Web Hosting