Padre
view release on metacpan or search on metacpan
by Padre (AZAWAWI)
- Unify terminology for the Firefox-like search box to "Find Fast" (ADAMK)
- Set focus to editor window if search bar is closed (SEWI)
- Set focus to editor after switching panes/tabs (SEWI)
- Add File -> New -> Copy of current document (SEWI)
- Fix "last update" timestamp for sessions (SEWI)
- Fast Find resets term correctly across multiple uses (ADAMK)
- Padre::Project::Perl detects project-wide version correctly (ADAMK)
- Padre can use Wx::Scintilla's built-in Perl 6 lexer if Wx::Scintilla
is being used by Padre (AZAWAWI)
- Disable overlay scrollbars on linux (CLAUDIO)
- Share one search termin between FindFast (panel), Find (dialog) and
Find in files (SEWI)
- ESC now closes the find dialog (1st ESC) and the output window (2nd) (SEWI)
- wxVSCROLL flag in FindInFiles tree control was causing the nodes to be
editable if clicked after selection. Keyboard scrolling was broken as a
result (AZAWAWI)
- Padre::Wx::Main::find_editor_of_file renamed to editor_of_file and
Padre::Wx::Main::find_id_of_editor renamed to editor_id to clean out the
method namespace find* for use with search related functionality (ADAMK)
lib/Padre/DB/Bookmark.pm view on Meta::CPAN
package Padre::DB::Bookmark;
# NOTE: This class is loaded automatically by Padre::DB, overlaying the
# code already auto-generated by Padre::DB. Do not load manually, as this
# module will not function standalone.
use 5.008;
use strict;
use warnings;
use Padre::Constant ();
our $VERSION = '1.02';
lib/Padre/DB/History.pm view on Meta::CPAN
package Padre::DB::History;
# NOTE: This class is loaded automatically by Padre::DB, overlaying the
# code already auto-generated by Padre::DB. Do not load manually, as this
# module will not function standalone.
# NOTE: Portable Perl support is NOT required for this class, as the use
# of it is shared between many different modules. If any consumer of this
# module needs Portable Support, they will need to implement it themselves.
use 5.008;
use strict;
use warnings;
lib/Padre/DB/HostConfig.pm view on Meta::CPAN
package Padre::DB::HostConfig;
# NOTE: This class is loaded automatically by Padre::DB, overlaying the
# code already auto-generated by Padre::DB. Do not load manually, as this
# module will not function standalone.
# NOTE: Portable Perl support is NOT required for this class, as any
# necesary transforms are done by the relevant Padre::Config modules.
use 5.008;
use strict;
use warnings;
use Padre::Current ();
lib/Padre/DB/LastPositionInFile.pm view on Meta::CPAN
package Padre::DB::LastPositionInFile;
# NOTE: This class is loaded automatically by Padre::DB, overlaying the
# code already auto-generated by Padre::DB. Do not load manually, as this
# module will not function standalone.
=pod
=head1 NAME
Padre::DB::LastPositionInFile - Storage class for stateful cursor positions
=head1 SYNOPSIS
lib/Padre/DB/RecentlyUsed.pm view on Meta::CPAN
package Padre::DB::RecentlyUsed;
# NOTE: This class is loaded automatically by Padre::DB, overlaying the
# code already auto-generated by Padre::DB. Do not load manually, as this
# module will not function standalone.
use 5.008;
use strict;
use warnings;
use Padre::Constant ();
our $VERSION = '1.02';
lib/Padre/DB/Session.pm view on Meta::CPAN
package Padre::DB::Session;
# NOTE: This class is loaded automatically by Padre::DB, overlaying the
# code already auto-generated by Padre::DB. Do not load manually, as this
# module will not function standalone.
# NOTE: Portable Perl support is NOT required for this class, as it does
# not contain any file paths.
use 5.008;
use strict;
use warnings;
use Padre::Current ();
lib/Padre/DB/SessionFile.pm view on Meta::CPAN
package Padre::DB::SessionFile;
# NOTE: This class is loaded automatically by Padre::DB, overlaying the
# code already auto-generated by Padre::DB. Do not load manually, as this
# module will not function standalone.
use 5.008;
use strict;
use warnings;
use Padre::Constant ();
our $VERSION = '1.02';
lib/Padre/Startup.pm view on Meta::CPAN
# Start with the default settings
my %setting = (
main_singleinstance => Padre::Constant::DEFAULT_SINGLEINSTANCE,
main_singleinstance_port => Padre::Constant::DEFAULT_SINGLEINSTANCE_PORT,
threads => 1,
threads_stacksize => 0,
startup_splash => 0,
VERSION => 0,
);
# Load and overlay the startup.yml file
if ( -f Padre::Constant::CONFIG_STARTUP ) {
%setting = ( %setting, startup_config() );
}
# Attempt to connect to the single instance server
if ( $setting{main_singleinstance} ) {
# This blocks for about 1 second
require IO::Socket;
my $socket = IO::Socket::INET->new(
script/padre view on Meta::CPAN
chomp($perl);
if ( -e $perl ) {
warn "spawning 'wxPerl' interpreter for OS X\n";
system( $perl, '-S', $0, @ARGV );
} else {
warn "padre cannot find wxPerl executable (which it requires on OS X)\n";
}
exit 0;
}
# Disable overlay scrollbar on Linux.
# Done ugly this way to satisfy Perl::Critic (grrr)
local $ENV{LIBOVERLAY_SCROLLBAR} = ( $^O eq 'linux' ) ? 0 : $ENV{LIBOVERLAY_SCROLLBAR};
# Handle special command line cases early, because options like --home
# MUST be processed before the Padre.pm library is loaded.
my $USAGE = '';
my $SHOWVERSION = '';
my $HOME = undef;
my $RESET = undef;
my $SESSION = undef;
script/padre-client view on Meta::CPAN
# XXX Mostly cut-n-pasted from Padre::Startup, except for the socket command handling
sub connect_to_server {
my (%options) = @_;
# Start with the default settings
my %setting = (
main_singleinstance => Padre::Constant::DEFAULT_SINGLEINSTANCE(),
main_singleinstance_port => Padre::Constant::DEFAULT_SINGLEINSTANCE_PORT(),
startup_splash => 1,
);
# Load and overlay the startup.yml file
if ( -f Padre::Constant::CONFIG_STARTUP ) {
require YAML::Tiny;
my $yaml = YAML::Tiny::LoadFile(
Padre::Constant::CONFIG_STARTUP
);
foreach ( sort keys %setting ) {
next unless exists $yaml->{$_};
$setting{$_} = $yaml->{$_};
}
}
( run in 2.480 seconds using v1.01-cache-2.11-cpan-49f99fa48dc )