Thread: [pgAdmin4][Patch]: Feature #1406 - Allow setting to use spaces instead of tab in query editor

Hi

This patch adds support for following:
1) Allow to use either use Tab/Spaces in editor.
2) Allow to specify Tab Size.

This settings are configurable in Preferences and will be applied to all code mirror instances in pgAdmin4.

Also, while setting "Help string" for SwitchControl in preferences. Help string is not aligned with Switch. I moved the help string and checkbox in same div to fix.

Please review and let me know for comments.

Thanks,
Surinder Kumar
Attachment
Thanks, applied with some string tweaks.

On Fri, Aug 19, 2016 at 10:55 AM, Surinder Kumar
<surinder.kumar@enterprisedb.com> wrote:
> Hi
>
> This patch adds support for following:
> 1) Allow to use either use Tab/Spaces in editor.
> 2) Allow to specify Tab Size.
>
> This settings are configurable in Preferences and will be applied to all
> code mirror instances in pgAdmin4.
>
> Also, while setting "Help string" for SwitchControl in preferences. Help
> string is not aligned with Switch. I moved the help string and checkbox in
> same div to fix.
>
> Please review and let me know for comments.
>
> Thanks,
> Surinder Kumar
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company