Mercurial > 510Connectbot
diff src/org/tn5250j/framework/tn5250/Screen5250.java @ 7:3248b46f3973 tn5250
adding tn5250 files
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 22 May 2014 13:41:05 -0700 |
parents | e8d2a24e85c6 |
children | e773d0952613 |
line wrap: on
line diff
--- a/src/org/tn5250j/framework/tn5250/Screen5250.java Thu May 22 13:10:44 2014 -0700 +++ b/src/org/tn5250j/framework/tn5250/Screen5250.java Thu May 22 13:41:05 2014 -0700 @@ -189,7 +189,7 @@ /** * Copy & Paste support - * + * * @see {@link #pasteText(String, boolean)} * @see {@link #copyTextField(int)} */ @@ -226,7 +226,7 @@ /** * Copy & Paste support - * + * * @param content * @see {@link #copyText(Rectangle)} */ @@ -315,7 +315,7 @@ /** * Copy & Paste support - * + * * @param position * @return * @see {@link #copyText(int)} @@ -456,10 +456,8 @@ if (planes.getChar(pos + 1) != '=' && planes.getChar(pos + 1) != '.' && planes.getChar(pos + 1) != '/') { - // System.out.println(" Hotspot clicked!!! we will send - // characters " + - // screen[pos].getChar() + - // screen[pos+1].getChar()); + log.debug(" Hotspot clicked!!! we will send characters " + + planes.getChar(pos) + " " + planes.getChar(pos+1)); aid.append(planes.getChar(pos)); aid.append(planes.getChar(pos + 1)); } else { @@ -1895,7 +1893,7 @@ return endPos; - } + } screenFields.getCurrentField().getKeyPos(endPos); if (posSpace) screenFields.getCurrentField().changePos(+1); return screenFields.getCurrentFieldPos(); @@ -3155,7 +3153,7 @@ // 0 - up // 1 - down int updown = direction & 0x80; - final int lines = direction & 0x7F; + final int lines = direction & 0x7F; // calculate the reference points for the move. int start = this.getPos(topLine - 1, 0); @@ -3183,7 +3181,7 @@ //Do nothing ... tooo small!!! } else { planes.setChar(x - lines * numCols, planes.getChar(x)); - //and clear + //and clear planes.setChar(x, ' '); } } @@ -3504,11 +3502,6 @@ } - public boolean checkHotSpots() { - - return planes.checkHotSpots(); - } - protected void setChar(int cByte) { if (lastPos > 0) { lastAttr = planes.getCharAttr(lastPos - 1);