- Timestamp:
- 09/25/08 10:21:53 (2 months ago)
- Files:
-
- 1 modified
-
lang/lua/misc/memcachedclient.lua (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/lua/misc/memcachedclient.lua
r19737 r19880 28 28 function entry_keypress(entry, ev) 29 29 if ev.key.keyval == 65362 then 30 if cmd_cur < #cmds - 1then30 if cmd_cur < #cmds then 31 31 cmd_cur = cmd_cur + 1 32 32 end 33 if cmds[cmd_cur +1] then34 entry:set_text(cmds[cmd_cur +1])33 if cmds[cmd_cur] then 34 entry:set_text(cmds[cmd_cur]) 35 35 end 36 36 return true … … 39 39 cmd_cur = cmd_cur - 1 40 40 end 41 if cmd_cur >= 0 and cmds[cmd_cur +1] then42 entry:set_text(cmds[cmd_cur +1])41 if cmd_cur >= 0 and cmds[cmd_cur] then 42 entry:set_text(cmds[cmd_cur]) 43 43 else 44 44 entry:set_text('') … … 69 69 cmds[#cmds + 1] = nil 70 70 end 71 cmds[#cmds + 1] = text 71 for n = #cmds + 1, 1, -1 do cmds[n] = cmds[n - 1] end 72 cmds[0] = text 72 73 cmd_cur = -1 73 74
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)