Note that there are some explanatory texts on larger screens.

plurals
  1. USStirls
    primarykey
    data
    text
    plurals
    1. COHi, thanks for the link. This shows how to group edits but not how to repeat them. What I require for repeat is; a UI showing the edit history (the undo stack), the user is able to select any one of the edits displayed to repeat. This is different from redo. The repeated edit should be copied(?) and placed on top of the undo stack. Because the edits store state; e.g., an edit can only be redone if it has been undone, I can't simply call redo on the chosen edit. I really need a copy of the edit.
      singulars
    2. COThanks for the answers. The application does not receive the urgent data as [setOOBInline()](http://download.oracle.com/javase/6/docs/api/java/net/Socket.html#setOOBInline%28boolean%29)) is not set (false). The urgent data is sent only to prevent disconnection after a period of inactivity. Setting [setKeepAlive](http://download.oracle.com/javase/6/docs/api/java/net/Socket.html#setKeepAlive%28boolean%29)) would have been a better solution. If I set setOOBInline() (true), the disconnection does not occur and the correct byte is received.
      singulars
    3. COThanks for your answer. This appears a better solution. I've changed my implementation as you've suggested. I have one more question. I need the connection handler thread to report events (message received/sent, disconnected) to the server. Is it better practice to; pass a reference to the server in the handler constructor and have the handler call methods on the reference, or use the Observer pattern?
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload