For months, I have the free version of DroidEdit. Using a tablet device and a good virtual keyboard (Hackers Keyboard) can work amazingly fast, and it's still faster on the PC of course. However, for small code works, it is sufficient. The manual back-and-forth-copy files from and to the server was too cumbersome to me at some point, so I bought the full version with SFTP / FTP support. In the full version, you can save multiple Server settings and edit files on a server / PC directly.
DroidEdit provides the essential functions of a text and code editor. It does not have the scope of an IDE such as Geany; a collection of classes and functions declared missing, there is no auto-completion and no plug-in system. Priced at € 1.50 which is reasonable, although more features are desirable for the full version.