Re: @whatever cheatsheet?
On Sun, Apr 25, 2021 at 4:02 PM Steve Litt wrote: > Hi all, > > Does there currently exist a cheatsheet showing the purpose of all the > various @whatever nodes (@file, @test, @button for instance)? If not, I > think it would be an easy and excellent document enhancement. > See http://leoeditor.com/directives.html Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAMF8tS2dT7x%3D_J3GutQni_OkwSpm6FR19CsQ-nTyYdV%3DLUXnRQ%40mail.gmail.com.
@whatever cheatsheet?
Hi all, Does there currently exist a cheatsheet showing the purpose of all the various @whatever nodes (@file, @test, @button for instance)? If not, I think it would be an easy and excellent document enhancement. SteveT Steve Litt Spring 2021 featured book: Troubleshooting Techniques of the Successful Technologist http://www.troubleshooters.com/techniques -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/20210425170247.3a44e053%40mydesk.domain.cxm.
Re: whatever
Hello all. I am tying to accomplish what Todd describes here, but am not having success. I'm using an @clean node to output a text file and I would like that file to be composed of the nodes and subnodes in a tree, along with the bodies in those nodes, such as... test heading test body test subheading test body 2 ... but am only getting this in my output file so far... test body test body 2 I've attached my sample working file and would appreciate any guidance others can provide. Many thanks! -Richard On Thursday, December 3, 2015 at 1:17:12 PM UTC-8, Todd Mars wrote: > > hi, > finally upgraded to 5.1, now @clean node works and can output a simple > text file that reflects the outlline. > So to make a small font in the body and headlines, I edit personal > settings file and put in what node? > thanks > it would be nice if ctrl- and ctrl+ could make the font sizes bigger and > smaller like they do in browsers. > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout. createCleanTextOutline.leo Description: Binary data
Re: whatever
Thank you, Todd. This change worked for me. All I did was change the... @string font-size = ... to a value of 10. I like the way the interface looks and works with the size 10 font. Thank you. On Monday, December 7, 2015 at 9:26:10 AM UTC-8, Todd Mars wrote: > > Thank-You! > Here are my notes: > LEO font size > leoSettings.leo > @settings/Appearance (change these first) > /Qt Gui Settings/Fonts/Basic Fonts (change these first) > /@string font-size =. > (changed to 10) > > On Thursday, December 3, 2015 at 4:17:12 PM UTC-5, Todd Mars wrote: >> >> hi, >> finally upgraded to 5.1, now @clean node works and can output a simple >> text file that reflects the outlline. >> So to make a small font in the body and headlines, I edit personal >> settings file and put in what node? >> thanks >> it would be nice if ctrl- and ctrl+ could make the font sizes bigger and >> smaller like they do in browsers. >> >> -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
Re: whatever
Thank-You! Here are my notes: LEO font size leoSettings.leo @settings/Appearance (change these first) /Qt Gui Settings/Fonts/Basic Fonts (change these first) /@string font-size =. (changed to 10) On Thursday, December 3, 2015 at 4:17:12 PM UTC-5, Todd Mars wrote: > > hi, > finally upgraded to 5.1, now @clean node works and can output a simple > text file that reflects the outlline. > So to make a small font in the body and headlines, I edit personal > settings file and put in what node? > thanks > it would be nice if ctrl- and ctrl+ could make the font sizes bigger and > smaller like they do in browsers. > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
Re: whatever
On Thu, 3 Dec 2015 13:17:12 -0800 (PST) Todd Marswrote: > hi, > finally upgraded to 5.1, now @clean node works and can output a > simple text file that reflects the outlline. > So to make a small font in the body and headlines, I edit personal > settings file and put in what node? > thanks > it would be nice if ctrl- and ctrl+ could make the font sizes bigger > and smaller like they do in browsers. Ctrl-mousewheel works in the body. To make the keys work, add these key bindings: zoom-in = Ctrl+= zoom-out = Ctrl+- (again, body only) To make headline font smaller, select the menu item: Settings Edit settings Fonts Outline pane fonts Basic outline fonts Size You should end up editing a node in mySettings.leo that looks like @string tree-font-size = @font-size make it look like @string tree-font-size = 8px or something like that. Cheers -Terry -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
whatever
hi, finally upgraded to 5.1, now @clean node works and can output a simple text file that reflects the outlline. So to make a small font in the body and headlines, I edit personal settings file and put in what node? thanks it would be nice if ctrl- and ctrl+ could make the font sizes bigger and smaller like they do in browsers. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
Re: Proposal: making tree widget color, tooltip, whatever plugin configurable
On Mon, Mar 9, 2009 at 3:15 PM, Ville M. Vainio vivai...@gmail.com wrote: On Mon, Mar 9, 2009 at 8:12 PM, Edward K. Ream edream...@gmail.com wrote: This would configure individual nodes - e.g. allow storing colors in uAs, as in cleo plugin. Oh. I'm with you now. Should I push a demo implementation (few small changes to core a plugin)? Yes, provided all unit tests pass. Edward --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send email to leo-editor@googlegroups.com To unsubscribe from this group, send email to leo-editor+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~--~~~~--~~--~--~---
Re: Proposal: making tree widget color, tooltip, whatever plugin configurable
On Mon, Mar 9, 2009 at 10:15 PM, Ville M. Vainio vivai...@gmail.com wrote: Should I push a demo implementation (few small changes to core a plugin)? I have now pushed an example plugin necessary core mechanics to trunk (and ran unit tests ;-). Included is colorize_headlines.py, a plugin that makes @auto, @shadow, @thin nodes bold. This can be used as starting point for cleo-like functionality (i.e. provide ui for setting node colors). The (trivial) meat of the plugin is here: http://pastebin.com/m69844a62 -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send email to leo-editor@googlegroups.com To unsubscribe from this group, send email to leo-editor+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~--~~~~--~~--~--~---
Re: Proposal: making tree widget color, tooltip, whatever plugin configurable
On Sat, Mar 7, 2009 at 3:21 PM, Ville M. Vainio vivai...@gmail.com wrote: It's obvious we want to do this (it's been done in tk plugin as well). If by this you mean that we want to make widgets as configurable as possible, then I certainly agree. I am not following the rest of this, however, My thought is that the obvious place to configure widgets is in leoSettings.leo and myLeoSettings.leo. At present, there is a conflict in Qt itself: apparently specifying a stylesheet interferes with programmatic settings. Edward --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send email to leo-editor@googlegroups.com To unsubscribe from this group, send email to leo-editor+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~--~~~~--~~--~--~---
Re: Proposal: making tree widget color, tooltip, whatever plugin configurable
On Mon, Mar 9, 2009 at 8:12 PM, Edward K. Ream edream...@gmail.com wrote: This would configure individual nodes - e.g. allow storing colors in uAs, as in cleo plugin. Oh. I'm with you now. Should I push a demo implementation (few small changes to core a plugin)? -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send email to leo-editor@googlegroups.com To unsubscribe from this group, send email to leo-editor+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~--~~~~--~~--~--~---
Proposal: making tree widget color, tooltip, whatever plugin configurable
It's obvious we want to do this (it's been done in tk plugin as well). Here's a concrete proposal how we should (IMHO) do this: - We add CommandChainDispatcher g.visit_tree_item. This allows plugins to register their own functions to manipulate QTreeWidgetItem after leo has constructed it. This would happen during tree redraw cycle. - The function signature would just be: visit_tree_item(c,p, myQTreeWidgetItem) - I don't see much point in abstacting this more (in a tk compatible fashion). We want to offer full control of widget items, incl. stuff like alignment, font, adding tooltips, statustips, whats this? support, ... - This could also change the icon, overriding leo's icon creation code (if needed). - CommandChainDispatcher is better than just offering the tree widget item to a list of handlers, since commandchaindispatcher can optionally suppress following handlers and provides priority ordering. - Here's an example that makes @url nodes bold and gives it a tool tip (yeah, tooltip is contorted use case): def url_itemvisitor(c,p, wi): if not p.h.startswith('@url '): raise TryNext wi.setFont(0, myBoldFont) wi.setToolTip(0, udoubleclick on this to open url + unicode(p.h)) raise TryNext g.visit_tree_item.add(url_itemvisitor, priority = '60') Note that we rause TryNext in the end - we don't want to be too eclusive with the @url colorizer, it's ok for other plugins to change it as well. It would typically be the case for most widget item manipulators. Other plugins may want to change the color, layout, ... Also note that, again, this leaves the door open to e.g. storing the color info to uAs. It's just not the only way. Some reverse logic is at play here - ofter, the handlers with the lowest priority are what make the final call, because by definition they get the last word. If you don't like that, don't call TryNext in yoru high priority handler ;-). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send email to leo-editor@googlegroups.com To unsubscribe from this group, send email to leo-editor+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~--~~~~--~~--~--~---