Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1036273 // renderLineAndColumnRange

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (9638L) is out of date.

sS renderLineAndColumnRange(LineAndColumn start, LineAndColumn end) {
  if (eq(start, end)) ret str(start);
  ret start + " to " + (end.line == start.line ? end.col : firstToLower(str(end)));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036273
Snippet name: renderLineAndColumnRange
Eternal ID of this version: #1036273/4
Text MD5: d44c039cd7078ebc2a29fda32dfe2ac9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-08 12:25:06
Source code size: 196 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 57 / 84
Version history: 3 change(s)
Referenced in: [show references]