Hello,
is it somehow possible with UltraEdit to get the current linenumber somehow automatically into the source code?
I would like to use that scenario, when I write entries into a logfile, for example something like this in a JSP-File.
System.out.println("\033[1m anmeldung.jsp: Line 273 \033[0m : "+statement);
It's obvious that "Line 273" is only valid as long as I don't add new lines before, if I do that I always have to change the line number manually (and that's annoying as I have usually lots of those lines).
So is something like
System.out.println("\033[1m anmeldung.jsp: Line $$UE_Variable_for_linenumber$$ \033[0m : "+statement);
possible? UE would have to replace that variable with the real number while saving for example.
Thanks a lot
Thomas
is it somehow possible with UltraEdit to get the current linenumber somehow automatically into the source code?
I would like to use that scenario, when I write entries into a logfile, for example something like this in a JSP-File.
System.out.println("\033[1m anmeldung.jsp: Line 273 \033[0m : "+statement);
It's obvious that "Line 273" is only valid as long as I don't add new lines before, if I do that I always have to change the line number manually (and that's annoying as I have usually lots of those lines).
So is something like
System.out.println("\033[1m anmeldung.jsp: Line $$UE_Variable_for_linenumber$$ \033[0m : "+statement);
possible? UE would have to replace that variable with the real number while saving for example.
Thanks a lot
Thomas