wiki:Features/TitleAndStatusBarPersonalization

Version 1 (modified by szabgab, 3 years ago) (diff)

--

Description

Padre allows the configuration of the window title and provides placeholders for various values. The actual template can be set in Tools/Preferences/Apperance/Window? title The available placeholders are:

  • %p - Project name
  • %v - Padre version
  • %f - Current filename
  • %d - Current file's dirname
  • %b - Current file's basename
  • %F - Current filename relative to project

strings that look like placeholder but are not supported yet will appear verbatim.

See #1153, #1138, and #1104

Test

  1. In Tools/Preferences/Apperance? Set the Window title to
    • %b - %f - %p - %d - %F - %v - %x - %%
  2. Open a file in the Padre project (e.g. lib/Padre.pm)
  3. Check if the title displays the correct information
    • Padre.pm - path/to/lib/Padre.pm - ??? - lib - lib/Padre.pm - ??? - %x - %%
  4. Create a new file (File/New?)
  5. Check if the title displays the correct information

TODO

TBD