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 » Extra libraries, Code snippets, applications etc. » U++ Esc Interpreter, Esc Macros and templates » RFC : my first ESC macros
Re: RFC : my first ESC macros [message #387 is a reply to message #377] Sat, 10 December 2005 23:04 Go to previous messageGo to previous message
gprentice is currently offline  gprentice
Messages: 260
Registered: November 2005
Location: New Zealand
Experienced Member
luzr wrote on Sat, 10 December 2005 08:56



Actually, there is unresolved issue with macro keys... The problem is that they are hardwired in the macro definition - that is good as long as you do not want to distribute macros, but cames short if we would like to add some macros to existing packages... (because users are free to redefine some key to the key assigned to macro).

I am not sure what is the right solution here....




I'm not sure I understand. Are you saying that it should be possible to assign a key to a macro without having to change the macro source?

If so, I'm wondering what kind of macros these would be e.g. editor functions that are worth distributing as macros would more likely be provided as built in (C++ code). If somebody takes the FindNextWord macro I wrote and changes it to assign their own key, then I put out another version, they have to reassign the key again in the macro code. I guess it would be nicer if there was a dialog (or even just a text file) that listed macro name : key assignment that overrode the macro code - it doesn't seem like a big problem though. Am I on the right track of what you're saying here?

I don't have a clear picture of how key bindings are handled at present and what overrides what. At some point, I'll dig into the source.

Did you notice my question about global variables in editor macros - is that possible at present - (it's ok if it's not Smile )

Graeme

 
Read Message
Read Message
Read Message
Read Message
Next Topic: what relations are between Usc and Esc classes and *.upp files?
Goto Forum:
  


Current Time: Mon Apr 29 10:50:08 CEST 2024

Total time taken to generate the page: 0.02716 seconds