Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » [FEATURE] Add submenu "Macro /Edit" to package that use usc macro (patch included)
Re: [FEATURE] Add submenu "Macro /Edit" to package that use usc macro (patch included) [message #46615 is a reply to message #46572] Sun, 12 June 2016 21:17 Go to previous messageGo to previous message
Klugier is currently offline  Klugier
Messages: 1102
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

It seems interesting to me. Can you post your package with macro. I want to test how macros works. I have never tried it before.

I think you can use something like this: (It is new in place bar lambda callbacks added by Mirek in recently version of upp):
bar.Sub("Macro", [=](Bar& subBar) {
    for(int i = 0; i < files.GetCount(); i++)
       subBar.Sub(files[i], [=] { EditFile(files[i])) });
});


It would be good at least for me if you post diff here. Make sure you checkout official upp mirror - more information you can find in updated article about svn http://www.ultimatepp.org/www$uppweb$svnInstall$en-us.html. I updated this site how to generates diff. It will be available tomorrow.

Sincerely,
Klugier


U++ - one framework to rule them all.

[Updated on: Sun, 12 June 2016 21:52]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [ACCEPTED] New file
Next Topic: Bookmarks hotkeys Ctrl+0-9 and Ctrl+Shift+0-9 dont works
Goto Forum:
  


Current Time: Fri Jul 18 03:38:32 CEST 2025

Total time taken to generate the page: 0.07980 seconds