Is there a wild card for inserting line number of current line into the script? Something usable in both Python and JavaScript? i.e., alert('%LN -Line number where this alert occurred'); or such. Thanks!
Hi, as geany isn't a compiler or interpreter that's not a possible geany-feature. For python you can check the 'inspect' module, there's something like 'lineno()' which should match your needs if I understand you right. Can't help you with javascript, but you might ask your favourite search engine about something similar ;-)
Cheers, Johannes
------------ /Original Message/ ------------ *Subject:* [Geany-Users] line numbers wild card *From:* elespector@gmail.com elespector@gmail.com *To:* users@lists.geany.org *Date:* Tue, 12 Nov 2013 08:50:23 -0600
Is there a wild card for inserting line number of current line into the script? Something usable in both Python and JavaScript? i.e., alert('%LN -Line number where this alert occurred'); or such. Thanks! _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users