Comments (2)
The "position 1137" means that it's the 1137th character since the beginning of the file (counting newlines as 1 or 2 characters, depending whether the file uses Unix line endings or DOS/Windows line endings). It can be navigated to using Emacs "M-x goto-char ..." command. In Notepad++, it seems you can use Ctrl + G with "Offset" (http://superuser.com/questions/895025/how-to-know-cursor-position-index-in-an-editor ) or use this trick with selection: http://superuser.com/questions/895025/how-to-know-cursor-position-index-in-an-editor .
I know, it's not a proper solution, not every text editor has a feature "goto character position". We should just show the line and column number, like all normal programs:) I'll fix it in a couple of days.
from view3dscene.
Fixed:) view3dscene (and all other programs using Castle Game Engine) will not show nice line/column numbers in the error messages, like
view3dscene: VRML/X3D warning: Error when reading, will skip the rest of VRML/X3D file: Error at line 12 column 4: ...
The fix is in castle-engine, castle-engine/castle-engine@fd797c6 , if you're interested:) The underlying stream wrapper keeps the count of current line and column now. The X3D lexer passes this information, in case of errors/warnings. There's a number of autotests to make sure it works correctly always:)
To test the result, you can get view3dscene from snapshots: http://michalis.ii.uni.wroc.pl/castle-engine-snapshots/
Or you can of course get Castle Game Engine and view3dscene from the latest GitHub sources, and compile them yourself:)
from view3dscene.
Related Issues (20)
- Metadata nodes are allowed as root nodes HOT 3
- missing support for X3DShapeNode visible field HOT 1
- TwoSidedMaterial, backColor HOT 4
- permit '\n' and other special characters in JavaScript source HOT 15
- possible diagnostic improvement when unquoted string encountered HOT 1
- MovieTexture is allowed as Sound source HOT 1
- Honor Metadata containerField="value" in X3D 4 HOT 3
- allow EXTERNPROTO, PROTO inside MFNode in classic encoding HOT 5
- Support for new X3D 4.0 audio nodes
- KeySensor enabled field is [in out] exposedField HOT 2
- TextureProjector and TextureProjectorParallel are allowed as root nodes in scene HOT 2
- skinCoord precedes skin in HAnimHumanoid HOT 3
- Direct use of /tmp HOT 1
- Secondary display flicker when closing application HOT 4
- tovrmlx3d - Support for file content in stdin HOT 3
- RFE (Request for Enhancement) Vertex shaders for Spheres HOT 7
- Any help suppressing warnings? HOT 4
- EAccessViolation HOT 4
- LoadSensor child nodes have containerField=children in X3D 4.0 HOT 2
- VRML/X3D: Plug name "main_texture_apply " not declared (in shader type "Fragment") HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from view3dscene.