comparison MoinMoin/app.py @ 2570:89563f058bb2

rework auto-scroll edit textarea, support docbook, minor enhancements
author RogerHaase <haaserd@gmail.com>
date Sat, 08 Mar 2014 12:20:09 -0700
parents 791bdedb0c20
children ee6c2b013356 da84a2c42a92
comparison
equal deleted inserted replaced
2569:16972ad52716 2570:89563f058bb2
253 253
254 flaskg.content_lang = app.cfg.language_default 254 flaskg.content_lang = app.cfg.language_default
255 flaskg.current_lang = app.cfg.language_default 255 flaskg.current_lang = app.cfg.language_default
256 256
257 setup_jinja_env() 257 setup_jinja_env()
258
259 # request.user_agent == '' if this is pytest
260 flaskg.add_lineno_attr = request.user_agent and flaskg.user.edit_on_doubleclick
258 finally: 261 finally:
259 flaskg.clock.stop('init') 262 flaskg.clock.stop('init')
260 263
261 # if return value is not None, it is the final response 264 # if return value is not None, it is the final response
262 265