Commit [6a6ab8] squirrel-2_4-branch Maximize Restore History

When trying to get the sql to be executed, if the user has placed the cursor at the end of the statement, without selecting the statement, decrement the caret position so that we execute the statement preceding the caret. Don't throw an ArrayIndexOutOfBoundsException, just let the user know that they haven't selected SQL and we cannot tell what SQL they meant to execute.(Merged these fixes from revs 1.14 and 1.15)

Robert Manning Robert Manning 2007-03-03

changed sql12/app/src/net/sourceforge/squirrel_sql/client/session/
sql12/app/src/net/sourceforge/squirrel_sql/client/session/ Diff Switch to side-by-side view