<div dir="ltr"><div dir="ltr">Em sex., 3 de abr. de 2020 às 17:31, IOhannes m zmölnig <<a href="mailto:zmoelnig@iem.at">zmoelnig@iem.at</a>> escreveu:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">since you already know *that* the built-in comment does that, why don't<br>
you just lookup the code and see what it does?<br>
<<a href="https://github.com/pure-data/pure-data/blob/master/src/g_text.c#L1373" rel="noreferrer" target="_blank">https://github.com/pure-data/pure-data/blob/master/src/g_text.c#L1373</a>></blockquote><div><br></div><div>I had tried looking for it, couldn't really find it, and now that I know where it is, I don't really get it...</div><div><br></div><div>And it just seems, one way or another, that you can't use any of it with externals, right?</div><div><br></div><div>As I see it, it uses "gl_edit" to know if it is in edit mode or not. But that information needs to be queried, right? It's not like Pd gets a message somewhere whenever it got in or out of edit mode and we can just use it, so it seems. </div><div><br></div><div>Anyway, with my poor comprehension and low coding skills, I'm really just asking if something easier can be done for externals, and if we could change the code so we could easily allow externals to react to edit mode status. </div><div><br></div><div><span style="background-color:rgb(255,251,221);color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre"></span>What makes me bet it's not possible and something needed to be done is this earlier discussion I found <a href="https://lists.puredata.info/pipermail/pd-list/2018-09/123354.html">https://lists.puredata.info/pipermail/pd-list/2018-09/123354.html</a> </div><div><br></div><div>cheers</div></div></div>