Branch Coverage

lib/Kephra/App/EditPanel.pm
Criterion Covered Total %
branch 0 118 0.0


line true false branch
12 0 0 if is($_[0])
14 0 0 if ref $_[0] eq 'Wx::StyledTextCtrl'
19 0 0 if Wx::wxMSW()
22 0 0 if is(_ref())
27 0 0 unless is($ep)
41 0 0 unless $$conf{'scroll_width'} eq 'auto'
51 0 0 $$conf{'contextmenu'}{'visible'} eq 'default' ? :
57 0 0 unless $Kephra::temp{'dialog'}{'active'}
58 0 0 if $$conf{'auto'}{'focus'}
84 0 0 $rectangular_mode ? :
93 0 0 if clicked_on_selection($event)
0 0 if ($nr == -1) { }
102 0 0 if ($nr == -1) { }
103 0 0 if ($event->LeftIsDown) { }
109 0 0 if ($ep->GetSelectedText) { }
110 0 0 if (clicked_on_selection($event, $ep)) { }
124 0 0 if ($nr == -1) { }
125 0 0 if ($event->LeftIsDown) { }
126 0 0 Kephra::Edit::_selection_left_to_right($ep) ? :
132 0 0 if ($$mconf{'visible'} eq 'custom')
133 0 0 $ep->GetSelectedText ? :
136 0 0 if $menu
153 0 0 if $is_sel xor $was_sel
164 0 0 if Kephra::CommandList::run_cmd_by_keycode($key)
166 0 0 if ($key == &Wx::WXK_RETURN) { }
167 0 0 if ($$config{'auto'}{'brace'}{'indention'})
170 0 0 if ($char == 123) { }
0 0 elsif ($char == 125) { }
176 0 0 $$config{'auto'}{'indention'} ? :
191 0 0 if (_config()->{'control'}{'use_mouse_function'}) { }
201 0 0 unless ref $event eq 'Wx::MouseEvent' and is($ep)
203 0 0 if $pos == -1
209 0 0 unless ref $event eq 'Wx::MouseEvent' and is($ep)
212 0 0 if $start != $end and $pos >= $start and $pos <= $end
218 0 0 if $pos > -1
223 0 0 unless ref $event eq 'Wx::MouseEvent' and is($ep)
225 0 0 if ($pos == -1)
232 0 0 if ($line == 0 and $y > $font_size + 12)
240 0 0 if $pos == -1
258 0 0 unless $mode
260 0 0 $mode eq 'default' ? :
269 0 0 if ($$conf{'word_chars'}) { }
287 0 0 get_autowrap_mode() ? :
298 0 0 if $$font{'weight'} eq 'light'
299 0 0 if $$font{'weight'} eq 'bold'
300 0 0 if $$font{'style'} eq 'slant'
301 0 0 if $$font{'style'} eq 'italic'
304 0 0 if $wx_font->Ok > 0
309 0 0 if $$font_config{'weight'} eq 'light'
310 0 0 if $$font_config{'weight'} eq 'bold'
311 0 0 if $$font_config{'style'} eq 'slant'
312 0 0 if $$font_config{'style'} eq 'italic'
317 0 0 if ($newfont->Ok > 0)
322 0 0 if $fontweight == &Wx::wxLIGHT
323 0 0 if $fontweight == &Wx::wxBOLD
325 0 0 if $fontstyle == &Wx::wxSLANT
326 0 0 if $fontstyle == &Wx::wxITALIC
334 0 0 if $ep->GetZoom < 45
338 0 0 if $ep->GetZoom > -10