Line Number in Lua Environment

Case number:671071-993913
Topic:Game: Other
Opened by:phallicies
Status:Open
Type:Suggestion
Opened on:Monday, November 19, 2012 - 06:54
Last modified:Sunday, November 25, 2012 - 14:49

I know from scripting when you type something up and it has a lot of lines, its nice to know that when you get an error on say line 653, that you can find line 653. i know adding line numbers should be pretty easy, and that it will greatly help out all the scripters who are trying to find errors in their code. I know this is probably very low on your priority list, but it would be nice, thanks :)

(Mon, 11/19/2012 - 06:54  |  3 comments)


Joined: 11/03/2011

Moreover,it would be nice if, when we export the text of a recipe to blocnotes or word,
the line numbers could be the same as in the error messages given to stdout window.
This is totally confusing because it's not the case

Joined: 06/17/2010

Current workaround is to use external editor like n++ and copy/paste script to in-game editor.

Joined: 08/24/2011

make sure you don't have options like "wrap lines" on. the line number in stdout is always right. but as rav3n already stated, notepad and word are not suited for editing code, notepad++ (n++) is.

Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, RosettaCommons